SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    1, 3, 366, 491, 125, 492, 494, 496, 497, 
    164, 122, 240, 121, 127, 149, 120, 123, 
    152, 234, 146, 228, 50, 57, 147, 39, 32, 
    6, 237, 238, 98, 170, 489, 165
  )

Query time 0.00059

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "23.11"
    },
    "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": 33,
      "rows_produced_per_join": 33,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (1,3,366,491,125,492,494,496,497,164,122,240,121,127,149,120,123,152,234,146,228,50,57,147,39,32,6,237,238,98,170,489,165))",
      "cost_info": {
        "read_cost": "19.81",
        "eval_cost": "3.30",
        "prefix_cost": "23.11",
        "data_read_per_join": "51K"
      },
      "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
3 1 2 default
6 3 0 default
32 3 0 default
39 3 0 default
50 6 0 default
57 6 #ffffff 0 default #ffffff
98 39 #c9bdaa 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
127 56 #ffffff 0 default #ffffff
146 65 #ffffff 0 default #ffffff
147 66 #ffffff 0 default #ffffff
149 56 0 default
152 57 #ffffff 0 default #ffffff
164 55 0 default
165 39 #000000 0 default #ffffff
170 39 #999999 0 thumbnail #ffffff
228 65 0 default
234 65 0 default
237 39 #ac937f 0 default #ffffff
238 39 #4f5b5c 0 thumbnail #ffffff
240 56 0 default
366 58 0 default
489 39 #dd711d 0 thumbnail #ffffff
491 58 0 default
492 55 0 default
494 55 0 default
496 55 0 default
497 55 0 default