SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    49879, 49877, 49878, 49880, 40824, 49881, 
    49882, 49883, 49884, 49885, 49886, 
    49887, 49888, 49889, 49890, 49891, 
    49892, 49893
  ) 
  AND feature_id IN (25095, 25096) 
  AND lang_code = 'vi'

Query time 0.00624

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": "PRIMARY",
          "key_length": "6",
          "used_key_parts": ["feature_id", "product_id"],
          "rows": 38,
          "filtered": 51.5835762,
          "attached_condition": "cscart_product_features_values.product_id in (49879,49877,49878,49880,40824,49881,49882,49883,49884,49885,49886,49887,49888,49889,49890,49891,49892,49893) and cscart_product_features_values.feature_id in (25095,25096) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
40824 25095 87603
49877 25095 87603
49878 25095 87603
49879 25095 87603
49880 25095 87603
49881 25095 87603
49882 25095 87604
49883 25095 87604
49884 25095 87604
49885 25095 87604
49886 25095 87604
49887 25095 87604
49888 25095 87603
49889 25095 87603
49890 25095 87603
49891 25095 87604
49892 25095 87604
49893 25095 87604
40824 25096 87605
49877 25096 87606
49878 25096 87607
49879 25096 87608
49880 25096 87609
49881 25096 87610
49882 25096 87605
49883 25096 87606
49884 25096 87607
49885 25096 87608
49886 25096 87609
49887 25096 87610
49888 25096 87611
49889 25096 87612
49890 25096 87613
49891 25096 87611
49892 25096 87612
49893 25096 87613