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 (
    74799, 74800, 74803, 74804, 74805, 74806, 
    75622, 75623, 75624, 75625, 75626, 
    75631, 75629, 75630, 76714, 76713, 
    76712, 76711, 76715
  )

Query time 0.00772

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": 19,
          "filtered": 100,
          "index_condition": "pfv.variant_id in (74799,74800,74803,74804,74805,74806,75622,75623,75624,75625,75626,75631,75629,75630,76714,76713,76712,76711,76715)"
        }
      },
      {
        "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
74799 0 Gỗ Phong
74800 0 Gỗ Thông
74803 0 Gỗ Phong
74804 0 Gỗ Thông
74805 0 Gỗ Phong
74806 0 Gỗ Thông
75622 0 Đũa gỗ trắc đầu vỏ ốc bọc bạc
75623 0 Đũa gỗ đầu vỏ ốc
75624 0 Đũa gỗ trắc đầu trai lăn xương - trắng
75625 0 Đũa gỗ trắc đầu trai lăn xương - nâu
75626 0 Đũa gỗ trắc đầu trai khảm vảy Rồng
75629 0 Màu Nâu Sáng
75630 0 Màu Nâu Đen
75631 0 Màu Xanh Đen
76711 0 Đỏ
76712 0 Xám
76713 0 Nâu
76714 0 Hồng
76715 0 Xanh