SELECT 
  pfv.feature_id, 
  pfv.product_id, 
  pfv.variant_id, 
  fv.position, 
  fvd.variant 
FROM 
  cscart_product_features_values AS pfv 
  INNER JOIN cscart_product_feature_variants AS fv ON pfv.feature_id = fv.feature_id 
  AND pfv.variant_id = fv.variant_id 
  INNER JOIN cscart_product_feature_variant_descriptions AS fvd ON pfv.variant_id = fvd.variant_id 
  AND fvd.lang_code = 'vi' 
WHERE 
  pfv.feature_id IN (
    24627, 24661, 24662, 24920, 24520, 24125, 
    24628, 24421, 21274, 24447, 21275
  ) 
  AND pfv.product_id IN (
    45029, 46155, 48560, 44758, 40713, 45241, 
    43477, 2044, 43856, 2042
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.02126

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY",
            "fl",
            "variant_id",
            "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": 118,
          "filtered": 0.021726936,
          "attached_condition": "pfv.feature_id in (24627,24661,24662,24920,24520,24125,24628,24421,21274,24447,21275) and pfv.product_id in (45029,46155,48560,44758,40713,45241,43477,2044,43856,2042) and pfv.lang_code = 'vi'",
          "using_index": true
        }
      },
      {
        "table": {
          "table_name": "fv",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY", "feature_id"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "ref": ["dev_db.pfv.variant_id"],
          "rows": 1,
          "filtered": 100,
          "attached_condition": "fv.feature_id = pfv.feature_id"
        }
      },
      {
        "table": {
          "table_name": "fvd",
          "access_type": "eq_ref",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "9",
          "used_key_parts": ["variant_id", "lang_code"],
          "ref": ["dev_db.pfv.variant_id", "const"],
          "rows": 1,
          "filtered": 100,
          "index_condition": "fvd.lang_code = 'vi'"
        }
      }
    ]
  }
}

Result

feature_id product_id variant_id position variant
21275 2042 74438 0 Màu Đen
21274 2044 74436 0 Màu Đen
24125 40713 84080 1 Xanh dương Chuồn chuồn
24421 43477 85127 1 Trắng sữa
24447 43856 85266 1 Màu be sữa
24520 44758 85538 1 Nhẫn đồng mạ vàng - Bản nhỏ
24627 45029 85960 1 Đen
24628 45241 85964 1 Cotto
24661 46155 86053 1 Áo xanh da trời hoa tím
24662 46155 86055 1 Size S
24920 48560 86900 1 Charm bạc Hoa Sen vàng