SELECT 
  pfv.variant_id, 
  pfv.position, 
  pfvd.variant 
FROM 
  cscart_product_feature_variants AS pfv 
  INNER JOIN cscart_product_feature_variant_descriptions AS pfvd ON pfv.variant_id = pfvd.variant_id 
  AND pfvd.lang_code = 'vi' 
WHERE 
  pfv.variant_id IN (
    68796, 68795, 71575, 71573, 71574, 74588, 
    74590, 74591, 74593, 74594, 74596, 
    76637, 76635, 76636, 80580, 80581, 
    80582, 80583, 80584, 80585, 80586, 
    81495, 81496, 83821, 83822, 83823, 
    83824, 83825
  )

Query time 0.00515

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": ["PRIMARY"],
          "key": "PRIMARY",
          "key_length": "3",
          "used_key_parts": ["variant_id"],
          "rows": 28,
          "filtered": 100,
          "index_condition": "pfv.variant_id in (68796,68795,71575,71573,71574,74588,74590,74591,74593,74594,74596,76637,76635,76636,80580,80581,80582,80583,80584,80585,80586,81495,81496,83821,83822,83823,83824,83825)"
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "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": "pfvd.lang_code = 'vi'"
        }
      }
    ]
  }
}

Result

variant_id position variant
68795 0 Bánh gạo lứt Yến mạch
68796 0 Bánh gạo lứt Huyết rồng
71573 0 Trâu mẹ
71574 0 Trâu con
71575 0 Bộ gia đình trâu (1 mẹ + 1 con)
74588 0 Hũ Lớn
74590 0 Túi Zip
74591 0 Hủ Lớn
74593 0 Túi Zip
74594 1 Hũ Lớn
74596 3 Túi Zip
76635 0 Tròn hồng hoa trắng
76636 0 Tròn trắng hoa vàng
76637 0 Tròn xanh than hoa đỏ
80580 1 60g
80581 2 100g
80582 1 45g
80583 2 100g
80584 1 70g
80585 2 300g
80586 3 630g
81495 1 100g
81496 2 500g
83821 1 Mẫu 1
83822 2 Mẫu 2
83823 3 Mẫu 3
83824 4 Mẫu 4
83825 5 Mẫu 5