SELECT 
  variant_id, 
  yml2_unit 
FROM 
  cscart_product_feature_variant_descriptions 
WHERE 
  variant_id IN (
    '1', '178', '182', '334', '197', '335', 
    '399', '410', '190', '412', '203', 
    '207', '352', '149', '50', '58', '147', 
    '189', '201', '333', '345', '206', 
    '195', '170', '165'
  ) 
  AND lang_code = 'kk'

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "17.51"
    },
    "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": 25,
      "rows_produced_per_join": 25,
      "filtered": "100.00",
      "index_condition": "((`test_uchur_k`.`cscart_product_feature_variant_descriptions`.`variant_id` in ('1','178','182','334','197','335','399','410','190','412','203','207','352','149','50','58','147','189','201','333','345','206','195','170','165')) and (`test_uchur_k`.`cscart_product_feature_variant_descriptions`.`lang_code` = 'kk'))",
      "cost_info": {
        "read_cost": "15.01",
        "eval_cost": "2.50",
        "prefix_cost": "17.51",
        "data_read_per_join": "77K"
      },
      "used_columns": [
        "variant_id",
        "lang_code",
        "yml2_unit"
      ]
    }
  }
}

Result

variant_id yml2_unit
1
50
58
147
149
165
170
178
182
189
190
195
197
201
203
206
207
333
334
335
345
352
399
410
412