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 (
    24869, 24868, 22036, 23515, 23512, 22034, 
    23513, 20326, 20325, 20329, 20330, 
    24242, 24199, 24066
  ) 
  AND pfv.product_id IN (
    33725, 854, 33724, 856, 34053, 4271, 
    4272, 4268, 4267, 41616, 41226, 33721, 
    40312
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.02345

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": 182,
          "filtered": 0.557009578,
          "attached_condition": "pfv.feature_id in (24869,24868,22036,23515,23512,22034,23513,20326,20325,20329,20330,24242,24199,24066) and pfv.product_id in (33725,854,33724,856,34053,4271,4272,4268,4267,41616,41226,33721,40312) 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
22036 854 77120 3 Standard 6mm
22034 856 77111 1 12mm
20330 4267 71133 0 37
20329 4268 71125 0 37
20326 4271 71101 0 37
20325 4272 71093 0 37
23512 33721 81601 1 Nâu tan
23512 33724 81601 1 Nâu tan
23515 33724 81626 1 3 con mèo
24868 33725 86725 1 Con hổ
24869 33725 86729 1 Kiểu 1
23512 34053 81610 10 Đỏ
23513 34053 81619 2 Hoạ tiết động vật theo ý khách
24066 40312 83869 1 40x60 cm
24199 41226 84321 4 24 lon
24242 41616 84474 2 24 lon