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 (
    1659, 2083, 2325, 1727, 1912, 2364, 1705, 
    1660, 1748, 2092, 2084, 2086, 2085, 
    2088, 2087, 2327, 1803, 2169, 2016, 
    1941, 1905, 1787, 2097, 2026, 1904, 
    2096, 2106, 1900, 2105, 1988, 2025, 
    1899, 1789, 2294, 1930, 2170, 1959, 
    1984, 1942, 2268, 1998, 1946, 1937, 
    1995, 2283, 2284, 2285, 2286, 2293
  )

Query time 0.00102

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "51.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": 49,
          "rows_produced_per_join": 49,
          "filtered": "100.00",
          "index_condition": "(`gaseus`.`pfv`.`variant_id` in (1659,2083,2325,1727,1912,2364,1705,1660,1748,2092,2084,2086,2085,2088,2087,2327,1803,2169,2016,1941,1905,1787,2097,2026,1904,2096,2106,1900,2105,1988,2025,1899,1789,2294,1930,2170,1959,1984,1942,2268,1998,1946,1937,1995,2283,2284,2285,2286,2293))",
          "cost_info": {
            "read_cost": "29.41",
            "eval_cost": "4.90",
            "prefix_cost": "34.31",
            "data_read_per_join": "55K"
          },
          "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": 49,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "12.25",
            "eval_cost": "4.90",
            "prefix_cost": "51.46",
            "data_read_per_join": "152K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
1659 1 Brass
1660 0 Single stage
1705 0 200
1727 0 140
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)
1930 0 Synthetic air (mixture)
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)
1946 0 DIN 477-1 No. 10 (W 24.32 x 1/14 RH)
1959 0 DIN 477-1 No. 5 (W 1 LH)
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)
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
2092 0 External thread G1/4" RHk according to EN 560
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
2169 0 Compression ring fitting front 12 mm
2170 0 External thread G1/2" RHk according to EN 560
2268 0 Test gases (mixture)
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
2293 0 External thread G3/8" RHk according to EN 560
2294 0 External thread G1/4" RHk 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)
2364 0 60,00