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 (
    1748, 
    1660, 
    1705, 
    2122, 
    1973, 
    1989, 
    2325, 
    1975, 
    1659, 
    2348, 
    2345, 
    2347, 
    2007, 
    1706, 
    1941, 
    1712, 
    2341, 
    2343, 
    1942, 
    1983, 
    2344, 
    1899, 
    1998, 
    2336, 
    1902, 
    1992, 
    2342, 
    1937, 
    1972, 
    1980, 
    2334, 
    1974, 
    1994, 
    1926, 
    1904, 
    1945, 
    1787, 
    1789, 
    1995, 
    1900, 
    1988, 
    1742, 
    1905, 
    1946, 
    2137, 
    2138, 
    2000, 
    2351, 
    2075, 
    1694, 
    2088, 
    2082, 
    2080, 
    2083, 
    2092, 
    2084, 
    2093, 
    2086, 
    2085, 
    2087, 
    2089, 
    1912, 
    2350, 
    2145, 
    2081, 
    2090, 
    2327, 
    1803, 
    2027, 
    2167, 
    2168, 
    2094, 
    2095, 
    2096, 
    2097, 
    2016, 
    2144, 
    2026, 
    2025, 
    2012, 
    2013, 
    2129, 
    2107, 
    2291, 
    2278, 
    2297, 
    2280, 
    2293, 
    2281, 
    2294, 
    2170, 
    2282, 
    2299, 
    2283, 
    2284, 
    2285, 
    2286, 
    2287, 
    2288, 
    1930, 
    1721, 
    2123, 
    1959, 
    1984, 
    2290, 
    1938, 
    2020, 
    2339, 
    2338, 
    2021, 
    2337, 
    1768, 
    1978, 
    2362, 
    1723, 
    1727, 
    2364, 
    2169, 
    2106, 
    2105, 
    2268, 
    2477, 
    2448, 
    2473, 
    2455, 
    2479, 
    2452, 
    2480, 
    2481, 
    2471, 
    2443, 
    1462, 
    2457, 
    1718, 
    2139, 
    2482, 
    2413, 
    2478, 
    2447, 
    2451, 
    2466, 
    2464, 
    2463, 
    2467, 
    2468, 
    2490, 
    2489, 
    2003, 
    1675, 
    2486, 
    2485, 
    2124, 
    1657, 
    1876
  )

Query time 0.00170

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "161.71"
    },
    "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": 154,
          "rows_produced_per_join": 154,
          "filtered": "100.00",
          "index_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1748,1660,1705,2122,1973,1989,2325,1975,1659,2348,2345,2347,2007,1706,1941,1712,2341,2343,1942,1983,2344,1899,1998,2336,1902,1992,2342,1937,1972,1980,2334,1974,1994,1926,1904,1945,1787,1789,1995,1900,1988,1742,1905,1946,2137,2138,2000,2351,2075,1694,2088,2082,2080,2083,2092,2084,2093,2086,2085,2087,2089,1912,2350,2145,2081,2090,2327,1803,2027,2167,2168,2094,2095,2096,2097,2016,2144,2026,2025,2012,2013,2129,2107,2291,2278,2297,2280,2293,2281,2294,2170,2282,2299,2283,2284,2285,2286,2287,2288,1930,1721,2123,1959,1984,2290,1938,2020,2339,2338,2021,2337,1768,1978,2362,1723,1727,2364,2169,2106,2105,2268,2477,2448,2473,2455,2479,2452,2480,2481,2471,2443,1462,2457,1718,2139,2482,2413,2478,2447,2451,2466,2464,2463,2467,2468,2490,2489,2003,1675,2486,2485,2124,1657,1876))",
          "cost_info": {
            "read_cost": "92.41",
            "eval_cost": "15.40",
            "prefix_cost": "107.81",
            "data_read_per_join": "175K"
          },
          "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": [
            "test2_gaseus.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 154,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "38.50",
            "eval_cost": "15.40",
            "prefix_cost": "161.71",
            "data_read_per_join": "480K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1462 0 Compressed air
1657 0 60
1659 1 Brass
1660 0 Single stage
1675 0 40
1694 0 20
1705 0 200
1706 0 48
1712 0 Double stage
1718 0 5
1721 0 75
1723 0 120
1727 0 140
1742 0 3
1748 0 Carbon Dioxide (CO2)
1768 0 60
1787 0 Helium (He)
1789 0 Argon (Ar)
1803 0 300
1876 0 100
1899 0 Compressed Air (mixture)
1900 0 Hydrogen (H2)
1902 0 Propane (C3H8)
1904 0 Oxygen (O2)
1905 0 Nitrogen (N2)
1912 1 up to 5.0 (laboratory gases / laser gases)
1926 0 8
1930 0 Synthetic air (mixture)
1937 0 DIN 477-1 No. 1 (W 21.80 x 1/14 LH)
1938 0 Clamping ring 6 mm
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
1980 0 80
1983 0 G 3/8 LH x 9 mm (hose grommet)
1984 0 Carbon monoxide (CO)
1988 0 Forming gases (mixture)
1989 0 1,8
1992 0 8
1994 0 Ethene (C2H4)
1995 0 Methane (CH4)
1998 0 DIN 477-1 No. 13 (G 5/8 RH)
2000 0 Acetylene (C2H2)
2003 0 10
2007 0 1,2
2012 0 DIN 477-1 No. 3 (Clamping brackets)
2013 0 8,5
2016 0 DIN 477-5 No. 57 (W 30 x 2 LH 15.2 / 20.8)
2020 0 1,92
2021 0 0,3
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)
2027 0 0,9
2075 0 Ethylene (C2H4)
2080 0 Hose nozzle G1/4" RHk x 6 mm
2081 0 External thread G1/4" LHk according to EN 560
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
2085 0 Compression fitting front 6 mm
2086 0 Compression fitting front 8 mm
2087 0 Compression fitting front 10 mm
2088 0 Compression fitting front 12 mm
2089 0 Compression fitting front 1/8"
2090 0 Compression fitting front 1/4"
2092 0 External thread G1/4" RHk according to EN 560
2093 0 Compression ring fitting front 1/4"
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
2105 0 Compression fitting 8 mm
2106 0 Compression fitting 12 mm
2107 0 Hose nozzle G3/8" LHk x 4 mm
2122 0 10
2123 0 20
2124 0 40
2129 0 1,5
2137 0 0,25
2138 0 0,6
2139 0 4
2144 0 4,5
2145 0 2,5
2167 0 Compression fitting 10 mm
2168 0 Compression fitting 1/4"
2169 0 Compression ring fitting front 12 mm
2170 0 External thread G1/2" RHk according to EN 560
2268 0 Test gases (mixture)
2278 0 Hose nozzle G3/8" LHk x 9 mm
2280 0 Hose nozzle G 3/8" LHk x 6 mm
2281 0 External thread G3/8" LHk according to EN 560
2282 0 External thread G1/2" LHk according to EN 560
2283 0 Compression fitting front 8 mm
2284 0 Compression fitting front 6 mm
2285 0 Compression fitting front 12 mm
2286 0 Compression fitting front 10 mm
2287 0 Compression fitting front 1/8"
2288 0 Compression fitting front 1/4"
2290 0 Chrome-plated
2291 0 Hose nozzle G3/8" RHk x 9 mm
2293 0 External thread G3/8" RHk according to EN 560
2294 0 External thread G1/4" RHk according to EN 560
2297 0 Hose nozzle G1/4" RHk x 6 mm
2299 0 Compression ring fitting front 1/4"
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)
2334 0 10,00
2336 0 G 1/4RHk x 6 mm (according to EN 560)
2337 0 20,00
2338 0 2,50
2339 0 4,50
2341 0 1,50
2342 0 4,00
2343 0 n/a
2344 0 N
2345 0 N
2347 0 N
2348 0 Y
2350 0 Y
2351 0 0,60
2362 0 40,00
2364 0 60,00
2413 0 1.5
2443 0 G 3/8" RH nut (acc. to EN 560)
2447 0 1.5
2448 0 G 3/8" LH nut (acc. to EN 560)
2451 0 CO₂/Argon (Ar, CO2)
2452 0 2.5
2455 0 Forming gas (mixture)
2457 0 Testing gas
2463 0 1.0–15.0 Nl/min
2464 0 4.5 (fixed)
2466 0 0.5–5.0 Nl/min
2467 0 2.5 (fixed)
2468 0 3.0–30.0 Nl/min
2471 0 G 1/4" RH x 6 mm (hose nozzle)
2473 0 46
2477 0 G 3/8" LH x 9 mm (hose nozzle)
2478 0 3.5
2479 0 1.2
2480 0 1.8
2481 0 3.0
2482 0 2.5
2485 0 G 1/2" RH nut (acc. to EN 560)
2486 0 G 1/2" RH x 9 mm (hose nozzle)
2489 0 G 1/2" LH nut (acc. to EN 560)
2490 0 G 1/2" LH x 9 mm (hose nozzle)