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 (
    1787, 
    1660, 
    1705, 
    2334, 
    1912, 
    1706, 
    2325, 
    1938, 
    2290, 
    2344, 
    2345, 
    2347, 
    1748, 
    2122, 
    2348, 
    2349, 
    2145, 
    2027, 
    2350, 
    1989, 
    1712, 
    2021, 
    1803, 
    2129, 
    2007, 
    2327, 
    1975, 
    2144, 
    2000, 
    2016, 
    1900, 
    2075, 
    1899, 
    2025, 
    1905, 
    1937, 
    1988, 
    1946, 
    1789, 
    2338, 
    1904, 
    1945, 
    1941, 
    1942, 
    1998, 
    1972, 
    1974, 
    2341, 
    2020, 
    2023, 
    2018, 
    2017, 
    2339, 
    1995, 
    1742, 
    1694, 
    2013, 
    2012, 
    2342, 
    2022, 
    2026, 
    2019, 
    2024, 
    1973, 
    1659, 
    2343, 
    1983, 
    2336, 
    1902, 
    1992, 
    1980, 
    1994, 
    1926, 
    2137, 
    2138, 
    2351, 
    2088, 
    2082, 
    2080, 
    2083, 
    2092, 
    2084, 
    2093, 
    2086, 
    2085, 
    2087, 
    2089, 
    2081, 
    2090, 
    2167, 
    2168, 
    2094, 
    2095, 
    2096, 
    2097, 
    2107, 
    2291, 
    2278, 
    2297, 
    2280, 
    2293, 
    2281, 
    2294, 
    2170, 
    2282, 
    2299, 
    2283, 
    2284, 
    2285, 
    2286, 
    2287, 
    2288, 
    1930, 
    1721, 
    2123, 
    1959, 
    1984, 
    1935, 
    2337, 
    1768, 
    1978, 
    2362, 
    1723, 
    1727, 
    2364, 
    2169, 
    2106, 
    2105, 
    2268
  )

Query time 0.00191

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "135.46"
    },
    "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": 129,
          "rows_produced_per_join": 129,
          "filtered": "100.00",
          "index_condition": "(`gaseus`.`pfv`.`variant_id` in (1787,1660,1705,2334,1912,1706,2325,1938,2290,2344,2345,2347,1748,2122,2348,2349,2145,2027,2350,1989,1712,2021,1803,2129,2007,2327,1975,2144,2000,2016,1900,2075,1899,2025,1905,1937,1988,1946,1789,2338,1904,1945,1941,1942,1998,1972,1974,2341,2020,2023,2018,2017,2339,1995,1742,1694,2013,2012,2342,2022,2026,2019,2024,1973,1659,2343,1983,2336,1902,1992,1980,1994,1926,2137,2138,2351,2088,2082,2080,2083,2092,2084,2093,2086,2085,2087,2089,2081,2090,2167,2168,2094,2095,2096,2097,2107,2291,2278,2297,2280,2293,2281,2294,2170,2282,2299,2283,2284,2285,2286,2287,2288,1930,1721,2123,1959,1984,1935,2337,1768,1978,2362,1723,1727,2364,2169,2106,2105,2268))",
          "cost_info": {
            "read_cost": "77.41",
            "eval_cost": "12.90",
            "prefix_cost": "90.31",
            "data_read_per_join": "147K"
          },
          "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": 129,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "32.25",
            "eval_cost": "12.90",
            "prefix_cost": "135.46",
            "data_read_per_join": "402K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1659 1 Brass
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
1748 0 Carbon Dioxide (CO2)
1768 0 60
1787 0 Helium (He)
1789 0 Argon (Ar)
1803 0 300
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)
1935 1 up to 6.0 (ultrapure gases)
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)
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)
2017 0 2,4
2018 0 4,8
2019 0 1,02
2020 0 1,92
2021 0 0,3
2022 0 0,84
2023 0 1,38
2024 0 5,58
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
2129 0 1,5
2137 0 0,25
2138 0 0,6
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
2349 0 Y
2350 0 Y
2351 0 0,60
2362 0 40,00
2364 0 60,00