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 (
    2348, 1659, 2082, 2325, 1978, 1973, 2362, 
    1705, 1660, 1748, 2080, 2083, 2084, 
    1912, 2327, 1803, 2094, 2016, 1900, 
    2095, 2096, 2097, 1937, 1988, 1787, 
    1995, 1946, 1723, 1905, 1789, 1941, 
    2075, 2025, 1899, 1998, 1975, 1974, 
    1972, 1942, 1983, 1959, 1984, 1945, 
    1904, 2026
  )

Query time 0.00080

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "47.26"
    },
    "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": 45,
          "rows_produced_per_join": 45,
          "filtered": "100.00",
          "index_condition": "(`gaseus`.`pfv`.`variant_id` in (2348,1659,2082,2325,1978,1973,2362,1705,1660,1748,2080,2083,2084,1912,2327,1803,2094,2016,1900,2095,2096,2097,1937,1988,1787,1995,1946,1723,1905,1789,1941,2075,2025,1899,1998,1975,1974,1972,1942,1983,1959,1984,1945,1904,2026))",
          "cost_info": {
            "read_cost": "27.01",
            "eval_cost": "4.50",
            "prefix_cost": "31.51",
            "data_read_per_join": "51K"
          },
          "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": 45,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "11.25",
            "eval_cost": "4.50",
            "prefix_cost": "47.26",
            "data_read_per_join": "140K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1659 1 Brass
1660 0 Single stage
1705 0 200
1723 0 120
1748 0 Carbon Dioxide (CO2)
1787 0 Helium (He)
1789 0 Argon (Ar)
1803 0 300
1899 0 Compressed Air (mixture)
1900 0 Hydrogen (H2)
1904 0 Oxygen (O2)
1905 0 Nitrogen (N2)
1912 1 up to 5.0 (laboratory gases / laser gases)
1937 0 DIN 477-1 No. 1 (W 21.80 x 1/14 LH)
1941 0 Tracer gases (mixture)
1942 0 DIN 477-1 No. 14 (M 19 x 1.5 LH)
1945 0 DIN 477-1 No. 9 (G 3/4 RH)
1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
1959 0 DIN 477-1 No. 5 (W 1 LH)
1972 0 Nitrous oxide (N2O)
1973 1 up to 4.5 (technical gases)
1974 0 DIN 477-1 No. 11 (G 3/8 RH)
1975 0 G 1/4 RH x 6 mm (hose grommet)
1978 0 130
1983 0 G 3/8 LH x 9 mm (hose grommet)
1984 0 Carbon monoxide (CO)
1988 0 Forming gases (mixture)
1995 0 Methane (CH4)
1998 0 DIN 477-1 No. 13 (G 5/8 RH)
2016 0 DIN 477-5 No. 57 (W 30 x 2 LH 15.2 / 20.8)
2025 0 DIN 477-5 No. 56 (W 30 x 2 RH 16.6 / 19.4)
2026 0 DIN 477-5 No. 59 (W 30 x 2 RH 17.3 / 18.7)
2075 0 Ethylene (C2H4)
2080 0 Hose nozzle G1/4" RHk x 6 mm
2082 0 Hose nozzle G3/8" RHk x 9 mm
2083 0 External thread G3/8" RHk according to EN 560
2084 0 External thread G1/2" RHk according to EN 560
2094 0 Hose nozzle G3/8" LHk x 9 mm
2095 0 Hose nozzle G 3/8" LHk x 6 mm
2096 0 External thread G3/8" LHk according to EN 560
2097 0 External thread G1/2" LHk according to EN 560
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)
2348 0 Y
2362 0 40,00