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 (
    20210, 22832, 20170, 24191, 20211, 23325, 
    21975, 23735, 23781
  ) 
  AND pfv.product_id IN (
    4795, 27056, 4865, 41134, 4793, 41102, 
    32319, 923, 36303, 37297
  ) 
  AND pfv.lang_code = 'vi'

Query time 0.01611

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.375248551,
          "attached_condition": "pfv.feature_id in (20210,22832,20170,24191,20211,23325,21975,23735,23781) and pfv.product_id in (4795,27056,4865,41134,4793,41102,32319,923,36303,37297) 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
21975 923 76917 0 Cam ngọt
20211 4793 70729 0 Màu cam loang
20210 4795 70723 0 Màu cam loang
20170 4865 70582 0 Cành hoa và cá
22832 27056 79647 0 500g
23325 32319 80915 1 Màu xanh dương giả cổ
23735 36303 82389 1 Xanh lá phối đen
23781 37297 82662 1 Hồng nhạt
24191 41102 84292 2 60cm x 60cm
24191 41134 84292 2 60cm x 60cm