SELECT 
  product_id, 
  feature_id, 
  variant_id 
FROM 
  cscart_product_features_values 
WHERE 
  product_id IN (
    969, 24238, 24239, 24240, 24241, 24242, 
    24243
  ) 
  AND feature_id IN (21961) 
  AND lang_code = 'vi'

Query time 0.00179

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 = 21961 and cscart_product_features_values.product_id in (969,24238,24239,24240,24241,24242,24243) and cscart_product_features_values.lang_code = 'vi'",
          "using_index": true
        }
      }
    ]
  }
}

Result

product_id feature_id variant_id
969 21961 76879
24238 21961 76873
24239 21961 76874
24240 21961 76875
24241 21961 76876
24242 21961 76877
24243 21961 76878