SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    18442, 18441, 18440, 18439, 18438, 18437, 
    18436, 4265
  ) 
  AND feature_id IN (20332) 
  AND lang_code = 'vi'

Query time 0.00088

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": 8,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 20332 and cscart_product_features_values.product_id in (18442,18441,18440,18439,18438,18437,18436,4265) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
4265 20332 71149
18436 20332 71142
18437 20332 71143
18438 20332 71144
18439 20332 71145
18440 20332 71146
18441 20332 71147
18442 20332 71148