SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    20609, 20608, 20607, 20606, 20605, 20604, 
    20603, 20602, 20601, 20600, 20599, 
    20598, 2946
  ) 
  AND feature_id IN (20854) 
  AND lang_code = 'vi'

Query time 0.00159

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": 13,
          "filtered": 100,
          "attached_condition": "cscart_product_features_values.feature_id = 20854 and cscart_product_features_values.product_id in (20609,20608,20607,20606,20605,20604,20603,20602,20601,20600,20599,20598,2946) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
2946 20854 72869
20598 20854 72857
20599 20854 72858
20600 20854 72859
20601 20854 72860
20602 20854 72861
20603 20854 72862
20604 20854 72863
20605 20854 72864
20606 20854 72865
20607 20854 72866
20608 20854 72867
20609 20854 72868