SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 20, 25, 60, 1, 2, 36, 37, 45, 
    46, 72, 74, 69, 269, 65, 332, 333, 1675, 
    1676, 2242, 2243, 2244, 2245, 768, 769, 
    2250, 3156, 771, 2103, 2108, 2112, 2136, 
    2137, 2141, 2155, 2164, 2173, 2192, 
    2203, 2225, 2229, 766
  )

Query time 0.02207

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "103.21"
    },
    "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": 43,
      "rows_produced_per_join": 43,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,20,25,60,1,2,36,37,45,46,72,74,69,269,65,332,333,1675,1676,2242,2243,2244,2245,768,769,2250,3156,771,2103,2108,2112,2136,2137,2141,2155,2164,2173,2192,2203,2225,2229,766))",
      "cost_info": {
        "read_cost": "94.61",
        "eval_cost": "8.60",
        "prefix_cost": "103.21",
        "data_read_per_join": "66K"
      },
      "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 #ffffff 0 default
2 1 #ffffff 0 default
20 3 #ffffff 0 default
25 3 #ffffff 0 default
36 7 #ffffff 0 default
37 7 #ffffff 0 default
45 11 #ffffff 0 default
46 11 #ffffff 0 default
60 12 #ffffff 0 default
65 13 #ffffff 0 default
69 14 #ffffff 1 default
72 15 #ffffff 0 default
74 15 #ffffff 0 default
269 35 #ffffff 0 default
332 46 #ffffff 1 default
333 46 #ffffff 2 default
766 132 #ffffff 1 default
768 133 #ffffff 11 default
769 133 #ffffff 12 default
771 133 #ffffff 15 default
1675 133 #ffffff 1 default
1676 133 #ffffff 2 default
2103 280 #000000 0 default
2108 280 #d3d3d3 31 default
2112 280 #191970 52 default
2136 280 #40e0d0 136 default
2137 280 #48d1cc 137 default
2141 280 #008b8b 147 default
2155 280 #00ff7f 217 default
2164 280 #f5fffa 242 default
2173 280 #ffe4c4 255 default
2192 280 #ff8c00 360 default
2203 280 #a52a2a 392 default
2225 280 #9932cc 504 default
2229 280 #dda0dd 526 default
2242 133 #ffffff 3 default
2243 133 #ffffff 4 default
2244 133 #ffffff 5 default
2245 133 #ffffff 6 default
2250 133 #ffffff 13 default
3156 133 #ffffff 15 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default