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 = 'en' 
WHERE 
  pfv.variant_id IN (
    2338, 1705, 1660, 1748, 2347, 2350, 2348, 
    1659, 1975, 2325, 2027, 1973, 1989, 
    2339, 2021, 1912, 1803, 2327, 1789, 
    1988, 1983, 2016, 2020, 1937
  )

Query time 0.00050

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "25.21"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "range",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id"
          ],
          "key_length": "3",
          "rows_examined_per_scan": 24,
          "rows_produced_per_join": 24,
          "filtered": "100.00",
          "index_condition": "(`gaseus`.`pfv`.`variant_id` in (2338,1705,1660,1748,2347,2350,2348,1659,1975,2325,2027,1973,1989,2339,2021,1912,1803,2327,1789,1988,1983,2016,2020,1937))",
          "cost_info": {
            "read_cost": "14.41",
            "eval_cost": "2.40",
            "prefix_cost": "16.81",
            "data_read_per_join": "27K"
          },
          "used_columns": [
            "variant_id",
            "position"
          ]
        }
      },
      {
        "table": {
          "table_name": "pfvd",
          "access_type": "eq_ref",
          "possible_keys": [
            "PRIMARY"
          ],
          "key": "PRIMARY",
          "used_key_parts": [
            "variant_id",
            "lang_code"
          ],
          "key_length": "9",
          "ref": [
            "gaseus.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 24,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "6.00",
            "eval_cost": "2.40",
            "prefix_cost": "25.21",
            "data_read_per_join": "74K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1659 1 Brass
1660 0 Single stage
1705 0 200
1748 0 Carbon Dioxide (CO2)
1789 0 Argon (Ar)
1803 0 300
1912 1 up to 5.0 (laboratory gases / laser gases)
1937 0 DIN 477-1 No. 1 (W 21.80 x 1/14 LH)
1973 1 up to 4.5 (technical gases)
1975 0 G 1/4 RH x 6 mm (hose grommet)
1983 0 G 3/8 LH x 9 mm (hose grommet)
1988 0 Forming gases (mixture)
1989 0 1,8
2016 0 DIN 477-5 No. 57 (W 30 x 2 LH 15.2 / 20.8)
2020 0 1,92
2021 0 0,3
2027 0 0,9
2325 0 DIN 477-1 No. 6 (W 21.8 x 1/14 RH)
2327 0 DIN 477-5 No. 54 (W30 x 2 RH 15.9 / 20.1)
2338 0 2,50
2339 0 4,50
2347 0 N
2348 0 Y
2350 0 Y