SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    18414, 18413, 18412, 18411, 18410, 18409, 
    18408, 4269
  ) 
  AND feature_id IN (20328) 
  AND lang_code = 'vi'

Query time 0.00931

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 = 20328 and cscart_product_features_values.product_id in (18414,18413,18412,18411,18410,18409,18408,4269) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
4269 20328 71117
18408 20328 71110
18409 20328 71111
18410 20328 71112
18411 20328 71113
18412 20328 71114
18413 20328 71115
18414 20328 71116