SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2103, 2105, 2106, 2107, 2108, 
    2109, 2112, 2117, 2120, 2126, 2130, 
    2133, 2134, 2135, 2136, 2138, 2139, 
    2140, 2162, 2163, 2164, 2166, 2168, 
    2169, 2173, 2182, 2190, 2191, 2192, 
    2193, 2194, 2208, 2210, 2211, 2215, 
    2219, 2220, 2221, 2222, 2224, 2225, 
    2229, 766
  )

Query time 0.01104

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 (3246,3247,2103,2105,2106,2107,2108,2109,2112,2117,2120,2126,2130,2133,2134,2135,2136,2138,2139,2140,2162,2163,2164,2166,2168,2169,2173,2182,2190,2191,2192,2193,2194,2208,2210,2211,2215,2219,2220,2221,2222,2224,2225,2229,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
766 132 #ffffff 1 default
2103 280 #000000 0 default
2105 280 #808080 23 default
2106 280 #a9a9a9 25 default
2107 280 #c0c0c0 27 default
2108 280 #d3d3d3 31 default
2109 280 #dcdcdc 32 default
2112 280 #191970 52 default
2117 280 #4169e1 70 default
2120 280 #6495ed 84 default
2126 280 #b0c4de 105 default
2130 280 #f0ffff 113 default
2133 280 #afeeee 125 default
2134 280 #66cdaa 132 default
2135 280 #7fffd4 134 default
2136 280 #40e0d0 136 default
2138 280 #00ced1 141 default
2139 280 #20b2aa 143 default
2140 280 #5f9ea0 145 default
2162 280 #98fb98 235 default
2163 280 #f0fff0 241 default
2164 280 #f5fffa 242 default
2166 280 #fafad2 246 default
2168 280 #f5f5dc 248 default
2169 280 #fff8dc 249 default
2173 280 #ffe4c4 255 default
2182 280 #ffa500 288 default
2190 280 #8b4513 339 default
2191 280 #d2691e 352 default
2192 280 #ff8c00 360 default
2193 280 #ff7f50 364 default
2194 280 #ffa07a 367 default
2208 280 #ffc0cb 432 default
2210 280 #db7093 443 default
2211 280 #ff69b4 449 default
2215 280 #da70d6 467 default
2219 280 #6a5acd 485 default
2220 280 #7b68ee 488 default
2221 280 #483d8b 491 default
2222 280 #4b0082 497 default
2224 280 #800080 502 default
2225 280 #9932cc 504 default
2229 280 #dda0dd 526 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default