SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    42294, 42293, 42292, 42290, 42289, 42288, 
    42287, 42291, 40350, 42286, 42295, 
    42296, 42297
  ) 
  AND feature_id IN (23686) 
  AND lang_code = 'vi'

Query time 0.01259

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "cscart_product_features_values",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "lang_code",
            "product_id",
            "fpl",
            "idx_product_feature_variant_id"
          ],
          "key": "idx_product_feature_variant_id",
          "key_length": "12",
          "used_key_parts": ["product_id", "feature_id", "lang_code"],
          "rows": 13,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23686 and cscart_product_features_values.product_id in (42294,42293,42292,42290,42289,42288,42287,42291,40350,42286,42295,42296,42297) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
40350 23686 82133
42286 23686 83867
42287 23686 83868
42288 23686 84724
42289 23686 84725
42290 23686 82132
42291 23686 82134
42292 23686 82135
42293 23686 82657
42294 23686 82658
42295 23686 82659
42296 23686 82660
42297 23686 82661