SELECT 
  variant_id, 
  yml2_unit 
FROM 
  cscart_product_feature_variant_descriptions 
WHERE 
  variant_id IN (
    '1449', '1201', '1219', '5899', '1283', 
    '1257', '5902', '5904', '5905', '5907', 
    '5908', '1282', '1425', '1280', '1200', 
    '5912', '1198', '1199', '1241', '5916', 
    '5942'
  ) 
  AND lang_code = 'ru'

Query time 0.00042

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "table_name": "cscart_product_feature_variant_descriptions",
      "access_type": "range",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "9",
      "used_key_parts": ["variant_id", "lang_code"],
      "rows": 21,
      "filtered": 100,
      "index_condition": "cscart_product_feature_variant_descriptions.variant_id in ('1449','1201','1219','5899','1283','1257','5902','5904','5905','5907','5908','1282','1425','1280','1200','5912','1198','1199','1241','5916','5942') and cscart_product_feature_variant_descriptions.lang_code = 'ru'"
    }
  }
}

Result

variant_id yml2_unit
1198
1199
1200
1201
1219
1241
1257
1280
1282
1283
1425
1449
5899
5902
5904
5905
5907
5908
5912
5916
5942