SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    45574, 45834, 45833, 45832, 45831, 45830, 
    45829, 45828, 45827, 45826, 45825, 
    45824, 45823, 45822, 45821, 45820, 
    45819, 45818, 45817, 45816, 45835, 
    45836, 45837, 45838, 45839, 45840, 
    45841, 45842, 45843, 45844, 45845, 
    45846, 45847, 45848, 45849, 45850, 
    45851, 45852, 45853, 45854
  ) 
  AND feature_id IN (24634, 24635) 
  AND lang_code = 'vi'

Query time 0.01286

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": 125,
          "filtered": 66.40000153,
          "attached_condition": "cscart_product_features_values.product_id in (45574,45834,45833,45832,45831,45830,45829,45828,45827,45826,45825,45824,45823,45822,45821,45820,45819,45818,45817,45816,45835,45836,45837,45838,45839,45840,45841,45842,45843,45844,45845,45846,45847,45848,45849,45850,45851,45852,45853,45854) and cscart_product_features_values.feature_id in (24634,24635) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
45574 24634 85990
45816 24634 85999
45817 24634 85999
45818 24634 86000
45819 24634 86000
45820 24634 86001
45821 24634 86001
45822 24634 86002
45823 24634 86002
45824 24634 86003
45825 24634 86003
45826 24634 86004
45827 24634 86004
45828 24634 86005
45829 24634 86005
45830 24634 86006
45831 24634 86006
45832 24634 86007
45833 24634 86007
45834 24634 86008
45835 24634 86008
45836 24634 86009
45837 24634 86009
45838 24634 85990
45839 24634 85991
45840 24634 85991
45841 24634 85992
45842 24634 85992
45843 24634 85993
45844 24634 85993
45845 24634 85994
45846 24634 85994
45847 24634 85995
45848 24634 85995
45849 24634 85996
45850 24634 85996
45851 24634 85997
45852 24634 85997
45853 24634 85998
45854 24634 85998
45574 24635 86010
45816 24635 86010
45817 24635 86011
45818 24635 86010
45819 24635 86011
45820 24635 86010
45821 24635 86011
45822 24635 86010
45823 24635 86011
45824 24635 86010
45825 24635 86011
45826 24635 86010
45827 24635 86011
45828 24635 86010
45829 24635 86011
45830 24635 86010
45831 24635 86011
45832 24635 86010
45833 24635 86011
45834 24635 86010
45835 24635 86011
45836 24635 86010
45837 24635 86011
45838 24635 86011
45839 24635 86010
45840 24635 86011
45841 24635 86010
45842 24635 86011
45843 24635 86010
45844 24635 86011
45845 24635 86010
45846 24635 86011
45847 24635 86010
45848 24635 86011
45849 24635 86010
45850 24635 86011
45851 24635 86010
45852 24635 86011
45853 24635 86010
45854 24635 86011