SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3155, 3232, 3246, 3247, 2103, 2104, 2105, 
    2106, 2108, 2109, 2110, 2112, 2113, 
    2114, 2115, 2116, 2117, 2118, 2120, 
    2122, 2123, 2124, 2125, 2127, 2128, 
    2129, 2130, 2131, 2133, 2135, 2136, 
    2137, 2138, 2139, 2140, 2141, 2142, 
    2143, 2144, 2145, 2146, 2147, 2148, 
    2149, 2150, 2151, 2153, 2155, 2161, 
    2162, 2163, 2164, 2165, 2166, 2167, 
    2168, 2170, 2172, 2173, 2176, 2179, 
    2184, 2186, 2187, 2188, 2189, 2190, 
    2191, 2192, 2193, 2194, 2195, 2196, 
    2197, 2198, 2200, 2202, 2203, 2204, 
    2205, 2207, 2208, 2209, 2210, 2211, 
    2219, 2220, 2221, 2222, 2223, 2224, 
    2225, 2226, 2227, 2228, 2229, 2234, 
    2235, 2237, 766
  )

Query time 0.01114

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "240.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": 100,
      "rows_produced_per_join": 100,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3155,3232,3246,3247,2103,2104,2105,2106,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2120,2122,2123,2124,2125,2127,2128,2129,2130,2131,2133,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2146,2147,2148,2149,2150,2151,2153,2155,2161,2162,2163,2164,2165,2166,2167,2168,2170,2172,2173,2176,2179,2184,2186,2187,2188,2189,2190,2191,2192,2193,2194,2195,2196,2197,2198,2200,2202,2203,2204,2205,2207,2208,2209,2210,2211,2219,2220,2221,2222,2223,2224,2225,2226,2227,2228,2229,2234,2235,2237,766))",
      "cost_info": {
        "read_cost": "220.01",
        "eval_cost": "20.00",
        "prefix_cost": "240.01",
        "data_read_per_join": "154K"
      },
      "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
2104 280 #696969 17 default
2105 280 #808080 23 default
2106 280 #a9a9a9 25 default
2108 280 #d3d3d3 31 default
2109 280 #dcdcdc 32 default
2110 280 #778899 37 default
2112 280 #191970 52 default
2113 280 #000080 53 default
2114 280 #00008b 55 default
2115 280 #0000cd 60 default
2116 280 #0000ff 63 default
2117 280 #4169e1 70 default
2118 280 #1e90ff 75 default
2120 280 #6495ed 84 default
2122 280 #87cefa 93 default
2123 280 #87ceeb 94 default
2124 280 #b0e0e6 102 default
2125 280 #add8e6 104 default
2127 280 #e6e6fa 109 default
2128 280 #f0f8ff 111 default
2129 280 #f8f8ff 112 default
2130 280 #f0ffff 113 default
2131 280 #e0ffff 114 default
2133 280 #afeeee 125 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
2142 280 #008080 148 default
2143 280 #2f4f4f 151 default
2144 280 #2e8b57 161 default
2145 280 #3cb371 166 default
2146 280 #6b8e23 171 default
2147 280 #808000 172 default
2148 280 #556b2f 173 default
2149 280 #228b22 180 default
2150 280 #008000 181 default
2151 280 #006400 182 default
2153 280 #8fbc8f 201 default
2155 280 #00ff7f 217 default
2161 280 #90ee90 233 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
2167 280 #ffffe0 247 default
2168 280 #f5f5dc 248 default
2170 280 #faebd7 252 default
2172 280 #ffebcd 254 default
2173 280 #ffe4c4 255 default
2176 280 #ffdab9 260 default
2179 280 #f0e68c 266 default
2184 280 #d2b48c 295 default
2186 280 #daa520 308 default
2187 280 #b8860b 311 default
2188 280 #cd853f 313 default
2189 280 #a0522d 338 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
2195 280 #e9967a 368 default
2196 280 #fa8072 371 default
2197 280 #f08080 372 default
2198 280 #cd5c5c 377 default
2200 280 #ff4500 380 default
2202 280 #b22222 391 default
2203 280 #a52a2a 392 default
2204 280 #8b0000 396 default
2205 280 #800000 397 default
2207 280 #ffe4e1 428 default
2208 280 #ffc0cb 432 default
2209 280 #ffb6c1 433 default
2210 280 #db7093 443 default
2211 280 #ff69b4 449 default
2219 280 #6a5acd 485 default
2220 280 #7b68ee 488 default
2221 280 #483d8b 491 default
2222 280 #4b0082 497 default
2223 280 #8b008b 501 default
2224 280 #800080 502 default
2225 280 #9932cc 504 default
2226 280 #9400d3 505 default
2227 280 #8a2be2 510 default
2228 280 #9370db 516 default
2229 280 #dda0dd 526 default
2234 280 #fff5ee 545 default
2235 280 #fffaf0 547 default
2237 280 #f5f5f5 550 default
3155 31 #ffffff 116 default
3232 31 #ffffff 120 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default