SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    37297, 37338, 37339, 37340, 37341, 37342, 
    37343
  ) 
  AND feature_id IN (23781) 
  AND lang_code = 'vi'

Query time 0.00251

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": 7,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 23781 and cscart_product_features_values.product_id in (37297,37338,37339,37340,37341,37342,37343) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
37297 23781 82662
37338 23781 82663
37339 23781 82664
37340 23781 82665
37341 23781 82666
37342 23781 82667
37343 23781 82668