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 (
    71075, 71076, 71124, 71123, 71122, 71121, 
    71120, 71119, 71118, 71125, 71132, 
    71131, 71130, 71129, 71128, 71127, 
    71126, 71133, 81601, 81610, 81611, 
    81612, 81613, 81614, 81615, 81616, 
    81617, 81602, 81603, 81604, 81605, 
    81606, 81607, 81608, 81609, 84144, 
    84145, 84146, 84150, 84151, 84207, 
    84208, 84318, 84319, 84320, 84321, 
    84473, 84474, 86384, 86383, 86381, 
    86382
  )

Query time 0.00322

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": 52,
          "filtered": 100,
          "index_condition": "pfv.variant_id in (71075,71076,71124,71123,71122,71121,71120,71119,71118,71125,71132,71131,71130,71129,71128,71127,71126,71133,81601,81610,81611,81612,81613,81614,81615,81616,81617,81602,81603,81604,81605,81606,81607,81608,81609,84144,84145,84146,84150,84151,84207,84208,84318,84319,84320,84321,84473,84474,86384,86383,86381,86382)"
        }
      },
      {
        "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
71075 0 Size vừa
71076 0 Size lớn
71118 0 38
71119 0 39
71120 0 40
71121 0 41
71122 0 42
71123 0 43
71124 0 36
71125 0 37
71126 0 38
71127 0 39
71128 0 40
71129 0 41
71130 0 42
71131 0 43
71132 0 36
71133 0 37
81601 1 Nâu tan
81602 2 Nâu nhạt
81603 3 Nâu vừa
81604 4 Nâu đậm
81605 5 Nâu Mahogany
81606 6 Nâu Socola
81607 7 Be
81608 8 Cam
81609 9 Vàng
81610 10 Đỏ
81611 11 Đỏ sẫm
81612 12 Xanh ngọc lam
81613 13 Xanh đậm Navy
81614 14 Tím
81615 15 Xanh lá Kelly
81616 16 Xanh lá
81617 17 Xanh dương Aqua.G
84144 1 127g
84145 2 217g
84146 3 470g
84150 1 Bột nguyên chất 500g
84151 2 Bột nguyên chất Premium 500g
84207 1 500g
84208 2 250g
84318 1 1 lon
84319 2 6 lon
84320 3 12 lon
84321 4 24 lon
84473 1 12 lon
84474 2 24 lon
86381 1 Vàng nâu
86382 2 Nâu sáng
86383 3 Nâu tối
86384 4 Đen