SELECT 
  * 
FROM 
  cscart_product_feature_variants 
WHERE 
  variant_id IN (
    3, 502, 252, 366, 125, 172, 296, 148, 414, 
    367, 155, 173, 122, 121, 127, 149, 120, 
    123, 152, 234, 146, 59, 50, 57, 58, 147, 
    176, 42, 32, 33, 31, 44, 43, 26, 298, 299, 
    503, 257, 154, 489, 165, 320
  )

Query time 0.00074

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "29.41"
    },
    "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": 42,
      "rows_produced_per_join": 42,
      "filtered": "100.00",
      "index_condition": "(`test_uchur_k`.`cscart_product_feature_variants`.`variant_id` in (3,502,252,366,125,172,296,148,414,367,155,173,122,121,127,149,120,123,152,234,146,59,50,57,58,147,176,42,32,33,31,44,43,26,298,299,503,257,154,489,165,320))",
      "cost_info": {
        "read_cost": "25.21",
        "eval_cost": "4.20",
        "prefix_cost": "29.41",
        "data_read_per_join": "64K"
      },
      "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
3 1 2 default
26 3 0 default
31 3 0 default
32 3 0 default
33 3 0 default
42 3 0 default
43 3 0 default
44 3 0 default
50 6 0 default
57 6 #ffffff 0 default #ffffff
58 6 #ffffff 0 default #ffffff
59 6 #ffffff 0 default #ffffff
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
148 58 0 default
149 56 0 default
152 57 #ffffff 0 default #ffffff
154 39 #78866b 0 default #ffffff
155 55 0 default
165 39 #000000 0 default #ffffff
172 58 0 default
173 55 0 default
176 66 #ffffff 0 default #ffffff
234 65 0 default
252 58 0 default
257 39 #b58c64 0 thumbnail #ffffff
296 58 0 default
298 86 0 default
299 10 0 default
320 39 #3b3b3b 0 thumbnail #ffffff
366 58 0 default
367 58 0 default
414 58 0 default
489 39 #dd711d 0 thumbnail #ffffff
502 58 0 default
503 10 0 default