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 (
    25127, 23752, 23110, 19927, 19723, 20836, 
    21147, 21328, 20221, 21150
  ) 
  AND pfv.product_id IN (
    50216, 36746, 2304, 5829, 15218, 3004, 
    2302, 22143, 18160, 2299
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.01375

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": 102,
          "filtered": 0.047933891,
          "attached_condition": "pfv.feature_id in (25127,23752,23110,19927,19723,20836,21147,21328,20221,21150) and pfv.product_id in (50216,36746,2304,5829,15218,3004,2302,22143,18160,2299) 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
21150 2299 73973 0 Delighted
21147 2302 73958 0 Chillin
23110 2304 80108 1 Enchant
20836 3004 72795 0 Size 20 x 20 cm
19927 5829 69632 0 T-Peach
19723 15218 68592 0 LA ROSE
20221 18160 70759 0 Thỏ trắng
21328 22143 74608 0 Without you
23752 36746 82441 2 Bình giữ nhiệt vỏ tre
25127 50216 87712 2 A4