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 (
    1912, 
    1904, 
    2026, 
    2083, 
    1803, 
    2362, 
    1723, 
    1659, 
    1660, 
    2348, 
    2080, 
    1945, 
    1705, 
    1905, 
    1946, 
    2087, 
    2364, 
    1727, 
    2085, 
    1988, 
    2288, 
    2090, 
    2341, 
    1926, 
    1712, 
    2345, 
    2347, 
    2285, 
    2088, 
    2283, 
    2086, 
    2170, 
    2084, 
    2280, 
    2095, 
    1973, 
    2093, 
    2092, 
    2089, 
    2082, 
    1941, 
    2016, 
    2096, 
    1899, 
    2025, 
    2106, 
    2105, 
    2097, 
    1900, 
    2327, 
    1787, 
    1789, 
    2169, 
    1995, 
    1937, 
    1942, 
    1998, 
    2325, 
    2145, 
    1989, 
    2350, 
    2144, 
    2168, 
    2027, 
    2122, 
    2007, 
    2337, 
    1721, 
    1706, 
    2094, 
    2167, 
    1742, 
    2343, 
    1972, 
    1974, 
    1980, 
    2075, 
    1768, 
    2081, 
    1983, 
    2338, 
    2020, 
    2339, 
    1975, 
    2021, 
    1978, 
    2299, 
    2294, 
    2297, 
    2287, 
    2286, 
    2284, 
    2293, 
    2291, 
    2282, 
    2281, 
    2278, 
    2000, 
    2012, 
    2107, 
    1694, 
    2129, 
    2013, 
    1984, 
    1959, 
    2290, 
    1938, 
    2344, 
    2334, 
    2024, 
    2023, 
    2342, 
    2349, 
    2017, 
    1935, 
    1930, 
    2336, 
    2123, 
    2351, 
    1902, 
    1992, 
    2137, 
    2268, 
    2022, 
    2019, 
    2018, 
    1994, 
    1748, 
    2138, 
    2381, 
    2378, 
    1954, 
    1836, 
    2132, 
    2130, 
    2143, 
    2131, 
    1949, 
    2403, 
    2133, 
    2134, 
    2135, 
    2136, 
    2388, 
    2408, 
    2409, 
    2410, 
    2411, 
    2413, 
    2415, 
    2423, 
    2424, 
    2426, 
    2173, 
    2497, 
    2541, 
    2043, 
    2370, 
    2374, 
    2499, 
    2501, 
    2369, 
    2373, 
    2147, 
    1879, 
    1829, 
    2124, 
    2524
  )

Query time 0.00240

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "155.46"
    },
    "nested_loop": [
      {
        "table": {
          "table_name": "pfv",
          "access_type": "ALL",
          "possible_keys": [
            "PRIMARY"
          ],
          "rows_examined_per_scan": 950,
          "rows_produced_per_join": 168,
          "filtered": "17.68",
          "cost_info": {
            "read_cost": "79.86",
            "eval_cost": "16.80",
            "prefix_cost": "96.66",
            "data_read_per_join": "191K"
          },
          "used_columns": [
            "variant_id",
            "position"
          ],
          "attached_condition": "(`test2_gaseus`.`pfv`.`variant_id` in (1912,1904,2026,2083,1803,2362,1723,1659,1660,2348,2080,1945,1705,1905,1946,2087,2364,1727,2085,1988,2288,2090,2341,1926,1712,2345,2347,2285,2088,2283,2086,2170,2084,2280,2095,1973,2093,2092,2089,2082,1941,2016,2096,1899,2025,2106,2105,2097,1900,2327,1787,1789,2169,1995,1937,1942,1998,2325,2145,1989,2350,2144,2168,2027,2122,2007,2337,1721,1706,2094,2167,1742,2343,1972,1974,1980,2075,1768,2081,1983,2338,2020,2339,1975,2021,1978,2299,2294,2297,2287,2286,2284,2293,2291,2282,2281,2278,2000,2012,2107,1694,2129,2013,1984,1959,2290,1938,2344,2334,2024,2023,2342,2349,2017,1935,1930,2336,2123,2351,1902,1992,2137,2268,2022,2019,2018,1994,1748,2138,2381,2378,1954,1836,2132,2130,2143,2131,1949,2403,2133,2134,2135,2136,2388,2408,2409,2410,2411,2413,2415,2423,2424,2426,2173,2497,2541,2043,2370,2374,2499,2501,2369,2373,2147,1879,1829,2124,2524))"
        }
      },
      {
        "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": 168,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "42.00",
            "eval_cost": "16.80",
            "prefix_cost": "155.46",
            "data_read_per_join": "523K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
2129 0 1,5
2130 0 3,5
2131 0 7
2133 0 0,05
2132 0 15
2007 0 1,2
2000 0 Acetylene (C2H2)
2134 0 0,15
1942 0 DIN 477-1 No. 14 (M 19 x 1.5 LH)
1941 0 Tracer gases (mixture)
1938 0 Clamping ring 6 mm
1937 0 DIN 477-1 No. 1 (W 21.80 x 1/14 LH)
1930 0 Synthetic air (mixture)
1926 0 8
1902 0 Propane (C3H8)
2135 0 0,3
2339 0 4,50
2341 0 1,50
2338 0 2,50
1905 0 Nitrogen (N2)
1904 0 Oxygen (O2)
2337 0 20,00
2336 0 G 1/4RHk x 6 mm (according to EN 560)
2334 0 10,00
2017 0 2,4
2016 0 DIN 477-5 No. 57 (W 30 x 2 LH 15.2 / 20.8)
2013 0 8,5
2012 0 DIN 477-1 No. 3 (Clamping brackets)
2327 0 DIN 477-5 No. 54 (W30 x 2 RH 15.9 / 20.1)
2325 0 DIN 477-1 No. 6 (W 21.8 x 1/14 RH)
2043 0 50
2107 0 Hose nozzle G3/8" LHk x 4 mm
1959 0 DIN 477-1 No. 5 (W 1 LH)
1949 0 70
2138 0 0,6
1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
1945 0 DIN 477-1 No. 9 (G 3/4 RH)
2137 0 0,25
2351 0 0,60
2350 0 Y
2349 0 Y
2348 0 Y
2343 0 n/a
2342 0 4,00
2364 0 60,00
2362 0 40,00
2147 0 28
1998 0 DIN 477-1 No. 13 (G 5/8 RH)
1989 0 1,8
1992 0 8
1994 0 Ethene (C2H4)
1995 0 Methane (CH4)
2124 0 40
2123 0 20
1988 0 Forming gases (mixture)
2122 0 10
2027 0 0,9
2026 0 DIN 477-5 No. 59 (W 30 x 2 RH 17.3 / 18.7)
2145 0 2,5
1984 0 Carbon monoxide (CO)
1900 0 Hydrogen (H2)
2025 0 DIN 477-5 No. 56 (W 30 x 2 RH 16.6 / 19.4)
1983 0 G 3/8 LH x 9 mm (hose grommet)
2024 0 5,58
2023 0 1,38
2022 0 0,84
2106 0 Compression fitting 12 mm
2105 0 Compression fitting 8 mm
2167 0 Compression fitting 10 mm
2144 0 4,5
2143 0 30
2097 0 External thread G1/2" LHk according to EN 560
2096 0 External thread G3/8" LHk according to EN 560
2095 0 Hose nozzle G 3/8" LHk x 6 mm
2094 0 Hose nozzle G3/8" LHk x 9 mm
1980 0 80
2020 0 1,92
2021 0 0,3
1978 0 130
2093 0 Compression ring fitting front 1/4"
2092 0 External thread G1/4" RHk according to EN 560
2090 0 Compression fitting front 1/4"
2019 0 1,02
2089 0 Compression fitting front 1/8"
1972 0 Nitrous oxide (N2O)
1974 0 DIN 477-1 No. 11 (G 3/8 RH)
1975 0 G 1/4 RH x 6 mm (hose grommet)
2088 0 Compression fitting front 12 mm
2087 0 Compression fitting front 10 mm
2018 0 4,8
2086 0 Compression fitting front 8 mm
2085 0 Compression fitting front 6 mm
2084 0 External thread G1/2" RHk according to EN 560
2083 0 External thread G3/8" RHk according to EN 560
2082 0 Hose nozzle G3/8" RHk x 9 mm
2081 0 External thread G1/4" LHk according to EN 560
2080 0 Hose nozzle G1/4" RHk x 6 mm
2075 0 Ethylene (C2H4)
2136 0 0,5
1660 0 Single stage
1694 0 20
1705 0 200
1706 0 48
1712 0 Double stage
1721 0 75
1723 0 120
1727 0 140
1742 0 3
1899 0 Compressed Air (mixture)
1748 0 Carbon Dioxide (CO2)
1768 0 60
1787 0 Helium (He)
1789 0 Argon (Ar)
1803 0 300
1829 0 250
1836 0 Stainless steel
1879 0 170
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
2173 0 35
2347 0 N
2344 0 N
2268 0 Test gases (mixture)
2278 0 Hose nozzle G3/8" LHk x 9 mm
2345 0 N
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"
2369 0 Gauge
2370 0 Contact gauge
2373 0 Gauge
2374 0 Contact gauge
2378 0 Chrome-plated brass
2381 0 210
1935 1 up to 6.0 (ultrapure gases)
1912 1 up to 5.0 (laboratory gases / laser gases)
1973 1 up to 4.5 (technical gases)
1659 1 Brass
1954 2 Monel
2388 0 1
2403 0 15
2408 0 0,050
2409 0 0,150
2410 0 0,300
2411 0 0,500
2413 0 1.5
2415 0 3.5
2423 0 1.7
2424 0 Nickel-plated
2426 0 17.5
2497 0 M 24×1.5 RH
2499 0 CO₂ (CO2)
2501 0 G 3/4" × 18 mm
2524 0 Clamp ring 8 mm
2541 0 G 3/8" × 10 mm