SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2103, 2105, 2106, 2107, 2108, 
    2109, 2110, 2111, 2112, 2117, 2119, 
    2120, 2122, 2123, 2126, 2130, 2133, 
    2134, 2135, 2136, 2137, 2138, 2139, 
    2140, 2141, 2146, 2149, 2154, 2155, 
    2162, 2163, 2164, 2165, 2166, 2168, 
    2169, 2171, 2172, 2173, 2179, 2182, 
    2190, 2191, 2192, 2193, 2194, 2199, 
    2200, 2201, 2202, 2208, 2209, 2210, 
    2211, 2212, 2213, 2215, 2219, 2220, 
    2221, 2222, 2224, 2225, 2229, 2231, 
    2239, 3238, 766
  )

Query time 0.01104

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "168.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": 70,
      "rows_produced_per_join": 70,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2103,2105,2106,2107,2108,2109,2110,2111,2112,2117,2119,2120,2122,2123,2126,2130,2133,2134,2135,2136,2137,2138,2139,2140,2141,2146,2149,2154,2155,2162,2163,2164,2165,2166,2168,2169,2171,2172,2173,2179,2182,2190,2191,2192,2193,2194,2199,2200,2201,2202,2208,2209,2210,2211,2212,2213,2215,2219,2220,2221,2222,2224,2225,2229,2231,2239,3238,766))",
      "cost_info": {
        "read_cost": "154.01",
        "eval_cost": "14.00",
        "prefix_cost": "168.01",
        "data_read_per_join": "108K"
      },
      "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
2110 280 #778899 37 default
2111 280 #708090 38 default
2112 280 #191970 52 default
2117 280 #4169e1 70 default
2119 280 #4682b4 77 default
2120 280 #6495ed 84 default
2122 280 #87cefa 93 default
2123 280 #87ceeb 94 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
2137 280 #48d1cc 137 default
2138 280 #00ced1 141 default
2139 280 #20b2aa 143 default
2140 280 #5f9ea0 145 default
2141 280 #008b8b 147 default
2146 280 #6b8e23 171 default
2149 280 #228b22 180 default
2154 280 #9acd32 209 default
2155 280 #00ff7f 217 default
2162 280 #98fb98 235 default
2163 280 #f0fff0 241 default
2164 280 #f5fffa 242 default
2165 280 #fffacd 243 default
2166 280 #fafad2 246 default
2168 280 #f5f5dc 248 default
2169 280 #fff8dc 249 default
2171 280 #ffefd5 253 default
2172 280 #ffebcd 254 default
2173 280 #ffe4c4 255 default
2179 280 #f0e68c 266 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
2199 280 #ff6347 378 default
2200 280 #ff4500 380 default
2201 280 #ff0000 381 default
2202 280 #b22222 391 default
2208 280 #ffc0cb 432 default
2209 280 #ffb6c1 433 default
2210 280 #db7093 443 default
2211 280 #ff69b4 449 default
2212 280 #ff1493 453 default
2213 280 #dc143c 458 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
2231 280 #fff0f5 540 default
2239 280 #ffffff 554 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default