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 (
    23535, 22665, 22572, 21915, 22541, 21630, 
    23239, 20621, 22370, 22369, 22828, 
    22835, 22569
  ) 
  AND pfv.product_id IN (
    35187, 2254, 2258, 1056, 79, 23172, 31650, 
    3465, 350, 351, 26858, 26848, 2250
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.03919

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": 169,
          "filtered": 0.034740757,
          "attached_condition": "pfv.feature_id in (23535,22665,22572,21915,22541,21630,23239,20621,22370,22369,22828,22835,22569) and pfv.product_id in (35187,2254,2258,1056,79,23172,31650,3465,350,351,26858,26848,2250) 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
22541 79 79145 0 Trà Oolong Hộp Túi Gấm Màu Xanh Lá - Kim Tuyên Mùa Xuân
22370 350 78434 1 Xanh dương phối cam
22369 351 78430 0 Cúc bấm trong đen phối hồng
21915 1056 76710 0 Màu cam
22569 2250 79220 0 RADERMECKER
22665 2254 79349 1 RADERMECKER
22572 2258 79229 0 RADERMECKER
20621 3465 72104 0 Hình tháp
21630 23172 75649 0 You & Me
22835 26848 79652 0 360g
22828 26858 79638 0 110g
23239 31650 80593 1 250g
23535 35187 81676 1 Màu đen