SELECT 
  variant_id, 
  yml2_unit 
FROM 
  cscart_product_feature_variant_descriptions 
WHERE 
  variant_id IN (
    '9058', '9050', '9052', '9035', '8805', 
    '9054', '9031', '8807', '9070', '8809', 
    '9063', '9056', '9045', '9051', '8811', 
    '8812', '8813', '8815', '8816', '8819', 
    '8820', '9039', '8821', '8822', '8823', 
    '9068', '9041', '9079', '9047', '9064', 
    '9061', '9027', '8846', '8850', '8851', 
    '9044', '8853', '9055', '9062', '9078', 
    '9077', '8857', '8858', '9028', '8859', 
    '9069', '8860', '9071', '9042', '9030', 
    '9036', '8875', '8876', '8877', '9053', 
    '9060', '9065', '8881', '9080', '9040', 
    '9083', '9081', '9091', '9087', '9085', 
    '9082', '9090', '9086', '9084', '6967', 
    '6971', '6963', '6970', '6968', '6965', 
    '6966', '6969', '9106', '9139', '9120', 
    '9133', '9123', '9128', '9107', '9119', 
    '9141', '9140', '9118', '9135', '9097', 
    '9113', '7959', '9142', '9109', '9115', 
    '9105', '9096', '9116', '9093', '9101', 
    '9122', '9127', '9159', '9148', '9153', 
    '9151', '9149', '9158', '9155', '9161', 
    '9157', '9150', '9147', '9166', '9169', 
    '9172', '9167', '9163', '9165', '9162', 
    '9170', '9171', '9168'
  ) 
  AND lang_code = 'ru'

Query time 0.00193

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": 123,
      "filtered": 100,
      "index_condition": "cscart_product_feature_variant_descriptions.variant_id in ('9058','9050','9052','9035','8805','9054','9031','8807','9070','8809','9063','9056','9045','9051','8811','8812','8813','8815','8816','8819','8820','9039','8821','8822','8823','9068','9041','9079','9047','9064','9061','9027','8846','8850','8851','9044','8853','9055','9062','9078','9077','8857','8858','9028','8859','9069','8860','9071','9042','9030','9036','8875','8876','8877','9053','9060','9065','8881','9080','9040','9083','9081','9091','9087','9085','9082','9090','9086','9084','6967','6971','6963','6970','6968','6965','6966','6969','9106','9139','9120','9133','9123','9128','9107','9119','9141','9140','9118','9135','9097','9113','7959','9142','9109','9115','9105','9096','9116','9093','9101','9122','9127','9159','9148','9153','9151','9149','9158','9155','9161','9157','9150','9147','9166','9169','9172','9167','9163','9165','9162','9170','9171','9168') and cscart_product_feature_variant_descriptions.lang_code = 'ru'"
    }
  }
}

Result

variant_id yml2_unit
6963
6965
6966
6967
6968
6969
6970
6971
7959
8805
8807
8809
8811
8812
8813
8815
8816
8819
8820
8821
8822
8823
8846
8850
8851
8853
8857
8858
8859
8860
8875
8876
8877
8881
9027
9028
9030
9031
9035
9036
9039
9040
9041
9042
9044
9045
9047
9050
9051
9052
9053
9054
9055
9056
9058
9060
9061
9062
9063
9064
9065
9068
9069
9070
9071
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9090
9091
9093
9096
9097
9101
9105
9106
9107
9109
9113
9115
9116
9118
9119
9120
9122
9123
9127
9128
9133
9135
9139
9140
9141
9142
9147
9148
9149
9150
9151
9153
9155
9157
9158
9159
9161
9162
9163
9165
9166
9167
9168
9169
9170
9171
9172