SELECT 
  variant_id, 
  yml2_unit 
FROM 
  cscart_product_feature_variant_descriptions 
WHERE 
  variant_id IN (
    '1462', '1', '3', '125', '148', '1468', 
    '1470', '119', '122', '121', '127', 
    '149', '120', '124', '123', '146', 
    '50', '57', '58', '147', '8', '7', '33', 
    '170', '1396', '165'
  ) 
  AND lang_code = 'ru'

Query time 0.00056

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "18.21"
    },
    "table": {
      "table_name": "cscart_product_feature_variant_descriptions",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "variant_id",
        "lang_code"
      ],
      "key_length": "9",
      "rows_examined_per_scan": 26,
      "rows_produced_per_join": 26,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_product_feature_variant_descriptions`.`variant_id` in ('1462','1','3','125','148','1468','1470','119','122','121','127','149','120','124','123','146','50','57','58','147','8','7','33','170','1396','165')) and (`test_uchur_k`.`cscart_product_feature_variant_descriptions`.`lang_code` = 'ru'))",
      "cost_info": {
        "read_cost": "15.61",
        "eval_cost": "2.60",
        "prefix_cost": "18.21",
        "data_read_per_join": "81K"
      },
      "used_columns": [
        "variant_id",
        "lang_code",
        "yml2_unit"
      ]
    }
  }
}

Result

variant_id yml2_unit
1
3
7
8
33
50
57
58
119
120
121
122
123
124
125
127
146
147
148
149
165
170
1396
1462
1468
1470