SELECT 
  variant_id, 
  yml2_unit 
FROM 
  cscart_product_feature_variant_descriptions 
WHERE 
  variant_id IN (
    '1858', '2512', '1882', '1887', '1856', 
    '1859', '1870', '2227', 'Y'
  ) 
  AND lang_code = 'ru'

Query time 0.00034

JSON explain

{
  "query_block": {
    "select_id": 1,
    "nested_loop": [
      {
        "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": 9,
          "filtered": 100,
          "index_condition": "cscart_product_feature_variant_descriptions.variant_id in ('1858','2512','1882','1887','1856','1859','1870','2227','Y') and cscart_product_feature_variant_descriptions.lang_code = 'ru'"
        }
      }
    ]
  }
}

Result

variant_id yml2_unit
1856
1858
1859
1870
1882
1887
2227
2512