SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 447, 450, 533, 453, 442, 516, 
    1676, 2242, 2243, 2244, 2245, 768, 769, 
    2250, 3156, 771, 2103, 2105, 2108, 2110, 
    2137, 2163, 2166, 2192, 2195, 2221, 
    2224, 766
  )

Query time 0.00229

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "72.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": 30,
      "rows_produced_per_join": 30,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,447,450,533,453,442,516,1676,2242,2243,2244,2245,768,769,2250,3156,771,2103,2105,2108,2110,2137,2163,2166,2192,2195,2221,2224,766))",
      "cost_info": {
        "read_cost": "66.01",
        "eval_cost": "6.00",
        "prefix_cost": "72.01",
        "data_read_per_join": "46K"
      },
      "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
442 67 #ffffff 1 default
447 68 #ffffff 0 default
450 69 #ffffff 0 default
453 70 #ffffff 0 default
516 90 #ffffff 1 default
533 95 #ffffff 2 default
766 132 #ffffff 1 default
768 133 #ffffff 11 default
769 133 #ffffff 12 default
771 133 #ffffff 15 default
1676 133 #ffffff 2 default
2103 280 #000000 0 default
2105 280 #808080 23 default
2108 280 #d3d3d3 31 default
2110 280 #778899 37 default
2137 280 #48d1cc 137 default
2163 280 #f0fff0 241 default
2166 280 #fafad2 246 default
2192 280 #ff8c00 360 default
2195 280 #e9967a 368 default
2221 280 #483d8b 491 default
2224 280 #800080 502 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