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 (
    86458, 86462, 86461, 86460, 86463, 86459, 
    86879, 86878, 86884, 86885, 86886, 
    86887, 86888, 86891, 86894, 86893, 
    86892
  )

Query time 0.00925

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": 17,
          "filtered": 100,
          "index_condition": "pfv.variant_id in (86458,86462,86461,86460,86463,86459,86879,86878,86884,86885,86886,86887,86888,86891,86894,86893,86892)"
        }
      },
      {
        "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
86458 1 36/37
86459 2 38/39
86460 3 40/41
86461 1 Xanh đen
86462 2 Xanh rêu
86463 3 Trắng
86878 0 size S
86879 0 size M
86884 0 size S
86885 0 size M
86886 0 size S
86887 0 size M
86888 0 size XS
86891 1 Áo gile trơn
86892 2 Áo gile thêu hình lá thủ công
86893 1 Size S
86894 2 Size M