SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    1, 158, 289, 125, 126, 504, 508, 1829, 
    1826, 509, 160, 122, 240, 121, 127, 1349, 
    149, 120, 123, 270, 234, 146, 50, 57, 
    58, 147, 20, 21, 15, 18, 19, 1813, 507, 
    287, 262, 162, 265, 422, 282, 111, 1300, 
    237, 238, 98, 165, 320
  )

Query time 0.00088

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "32.21"
    },
    "table": {
      "table_name": "cscart_product_feature_variants",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "variant_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 46,
      "rows_produced_per_join": 46,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (1,158,289,125,126,504,508,1829,1826,509,160,122,240,121,127,1349,149,120,123,270,234,146,50,57,58,147,20,21,15,18,19,1813,507,287,262,162,265,422,282,111,1300,237,238,98,165,320))",
      "cost_info": {
        "read_cost": "27.61",
        "eval_cost": "4.60",
        "prefix_cost": "32.21",
        "data_read_per_join": "71K"
      },
      "used_columns": [
        "variant_id",
        "feature_id",
        "url",
        "color",
        "position",
        "abt__ut2_color_style",
        "abt__ut2_multicolor"
      ]
    }
  }
}

Result

variant_id feature_id url color position abt__ut2_color_style abt__ut2_multicolor
1 1 1 default
15 3 0 default
18 3 0 default
19 3 0 default
20 3 0 default
21 3 0 default
50 6 0 default
57 6 #ffffff 0 default #ffffff
58 6 #ffffff 0 default #ffffff
98 39 #c9bdaa 0 default
111 47 0 default
120 56 0 default
121 56 0 default
122 56 0 default
123 57 #ffffff 0 default #ffffff
125 58 #ffffff 0 default #ffffff
126 58 #ffffff 0 default #ffffff
127 56 #ffffff 0 default #ffffff
146 65 #ffffff 0 default #ffffff
147 66 #ffffff 0 default #ffffff
149 56 0 default
158 58 0 default
160 55 0 default
162 47 0 default
165 39 #000000 0 default #ffffff
234 65 0 default
237 39 #ac937f 0 default #ffffff
238 39 #4f5b5c 0 thumbnail #ffffff
240 56 0 default
262 47 0 default
265 47 0 default
270 65 0 default
282 47 0 default
287 86 0 default
289 58 0 default
320 39 #3b3b3b 0 thumbnail #ffffff
422 47 0 default
504 55 0 default
507 86 0 default
508 55 0 default
509 55 0 default
1300 10 0 default
1349 56 0 default
1813 86 0 default
1826 55 0 default
1829 55 0 default