SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    2638, 563, 568, 570, 571, 573, 574, 459, 
    460, 462, 477, 479, 473, 474, 579, 580, 
    581, 582, 469, 470, 482, 484, 487, 463, 
    464, 471, 586, 590, 591, 1688, 1689, 
    1690, 1691, 2103, 2104, 2112, 2114, 
    2118, 2120, 2122, 2125, 2126, 2131, 
    2220, 766
  )

Query time 0.00108

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "108.01"
    },
    "table": {
      "table_name": "jmj_product_feature_variants",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "variant_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 45,
      "rows_produced_per_join": 45,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (2638,563,568,570,571,573,574,459,460,462,477,479,473,474,579,580,581,582,469,470,482,484,487,463,464,471,586,590,591,1688,1689,1690,1691,2103,2104,2112,2114,2118,2120,2122,2125,2126,2131,2220,766))",
      "cost_info": {
        "read_cost": "99.01",
        "eval_cost": "9.00",
        "prefix_cost": "108.01",
        "data_read_per_join": "69K"
      },
      "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
459 73 #ffffff 1 default
460 73 #ffffff 2 default
462 73 #ffffff 4 default
463 74 #ffffff 1 default
464 74 #ffffff 2 default
469 76 #ffffff 1 default
470 76 #ffffff 2 default
471 77 #ffffff 1 default
473 78 #ffffff 1 default
474 78 #ffffff 2 default
477 79 #ffffff 2 default
479 79 #ffffff 3 default
482 80 #ffffff 0 default
484 80 #ffffff 0 default
487 80 #ffffff 0 default
563 101 #ffffff 0 default
568 101 #ffffff 0 default
570 102 #ffffff 0 default
571 102 #ffffff 0 default
573 102 #ffffff 0 default
574 102 #ffffff 0 default
579 103 #ffffff 3 default
580 103 #ffffff 4 default
581 103 #ffffff 5 default
582 103 #ffffff 6 default
586 104 #ffffff 0 default
590 104 #ffffff 0 default
591 104 #ffffff 0 default
766 132 #ffffff 1 default
1688 255 #ffffff 0 default
1689 255 #ffffff 0 default
1690 255 #ffffff 0 default
1691 255 #ffffff 0 default
2103 280 #000000 0 default
2104 280 #696969 17 default
2112 280 #191970 52 default
2114 280 #00008b 55 default
2118 280 #1e90ff 75 default
2120 280 #6495ed 84 default
2122 280 #87cefa 93 default
2125 280 #add8e6 104 default
2126 280 #b0c4de 105 default
2131 280 #e0ffff 114 default
2220 280 #7b68ee 488 default
2638 31 #ffffff 110 default