SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    35731, 35844, 35845, 35846, 35847, 35848, 
    35849, 35850, 35851, 35852, 35853, 
    35854
  ) 
  AND feature_id IN (23622, 23623) 
  AND lang_code = 'vi'

Query time 0.01172

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": 24,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.product_id in (35731,35844,35845,35846,35847,35848,35849,35850,35851,35852,35853,35854) and cscart_product_features_values.feature_id in (23622,23623) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
35731 23622 81910
35731 23623 81913
35844 23622 81910
35844 23623 81914
35845 23622 81910
35845 23623 81915
35846 23622 81910
35846 23623 81916
35847 23622 81911
35847 23623 81913
35848 23622 81911
35848 23623 81914
35849 23622 81911
35849 23623 81915
35850 23622 81911
35850 23623 81916
35851 23622 81912
35851 23623 81913
35852 23622 81912
35852 23623 81914
35853 23622 81912
35853 23623 81915
35854 23622 81912
35854 23623 81916