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 = 'kk' 
WHERE 
  pfv.variant_id IN (
    6, 1364, 1361, 1360, 1362, 1363, 1359, 
    1358, 1357, 1368, 1367, 1366, 1365, 
    1371, 1370, 1369, 1374, 1373, 1376, 
    1375, 1379, 1380, 1386, 1385, 1393
  )

Query time 0.00070

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "26.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": 25,
          "rows_produced_per_join": 25,
          "filtered": "100.00",
          "index_condition": "(`test_uchur_k`.`pfv`.`variant_id` in (6,1364,1361,1360,1362,1363,1359,1358,1357,1368,1367,1366,1365,1371,1370,1369,1374,1373,1376,1375,1379,1380,1386,1385,1393))",
          "cost_info": {
            "read_cost": "15.01",
            "eval_cost": "2.50",
            "prefix_cost": "17.51",
            "data_read_per_join": "38K"
          },
          "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": [
            "test_uchur_k.pfv.variant_id",
            "const"
          ],
          "rows_examined_per_scan": 1,
          "rows_produced_per_join": 25,
          "filtered": "100.00",
          "cost_info": {
            "read_cost": "6.25",
            "eval_cost": "2.50",
            "prefix_cost": "26.26",
            "data_read_per_join": "77K"
          },
          "used_columns": [
            "variant_id",
            "variant",
            "lang_code"
          ]
        }
      }
    ]
  }
}

Result

variant_id position variant
6 0 OSFA
1357 0 S
1358 0 M
1359 0 L
1360 0 XL
1361 0 2XL
1362 0 3XL
1363 0 4XL
1364 0 5XL
1365 0 32x30
1366 0 34x30
1367 0 36x30
1368 0 38x30
1369 0 40x30
1370 0 42x30
1371 0 30x30
1373 0 OSFA
1374 0 XS
1375 0 56-60
1376 0 58-62
1379 0 58-60
1380 0 56-58
1385 0 60
1386 0 62
1393 0 52-54