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 (
    22348, 20463, 22517, 20458, 20461, 24717, 
    20459, 20457, 21626, 20456, 22556, 
    21912
  ) 
  AND pfv.product_id IN (
    382, 3875, 112, 3880, 3877, 49265, 3879, 
    3881, 23162, 3882, 52, 1059
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.08885

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": 145,
          "filtered": 0.030035423,
          "attached_condition": "pfv.feature_id in (22348,20463,22517,20458,20461,24717,20459,20457,21626,20456,22556,21912) and pfv.product_id in (382,3875,112,3880,3877,49265,3879,3881,23162,3882,52,1059) 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
22556 52 79197 0 Màu xanh
22517 112 79034 0 Hộp 250gr
22348 382 78331 0 Set 3 Thanh
21912 1059 76697 0 Khắc 1 mặt
20463 3875 71577 0 Trâu con
20461 3877 71572 0 Trâu nhỏ
20459 3879 71568 0 Trâu nhỏ
20458 3880 71566 0 Trâu nhỏ
20457 3881 71562 0 Size nhỏ
20456 3882 71560 0 Size vừa
21626 23162 75635 0 Màu Xanh Rêu
24717 49265 86218 1 Tím