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 (
    24889, 24890, 23451, 22907, 23580, 23581, 
    20425, 23582, 23583, 19784, 22264
  ) 
  AND pfv.product_id IN (
    48179, 859, 28127, 862, 4016, 35377, 
    6087, 506
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.01317

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": 90,
          "filtered": 0.252250403,
          "attached_condition": "pfv.feature_id in (24889,24890,23451,22907,23580,23581,20425,23582,23583,19784,22264) and pfv.product_id in (48179,859,28127,862,4016,35377,6087,506) 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
22264 506 78009 0 Chai nhựa 150ml
23451 859 81357 1 Tinh dầu Sả chanh Hena - Chai treo 8ml
23580 862 81799 1 Tinh dầu Cam
23581 862 81801 1 Chai treo 8ml
20425 4016 71479 0 Pine fresh
19784 6087 68800 0 10ml
22907 28127 79882 1 10ml
23582 35377 81804 2 Tinh dầu ngọc lan tây
23583 35377 81806 2 Nhỏ giọt 10ml
24889 48179 86836 10 Tinh dầu Thanh trà 30ml
24890 48179 86837 1 Tràm Năm Gân