SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    2638, 3150, 3152, 3155, 3246, 3247, 2103, 
    2104, 2105, 2106, 2107, 2108, 2109, 
    2110, 2111, 2112, 2113, 2114, 2115, 
    2116, 2117, 2118, 2119, 2120, 2122, 
    2125, 2126, 2131, 2134, 2135, 2136, 
    2137, 2138, 2141, 2142, 2143, 2144, 
    2147, 2148, 2149, 2151, 2153, 2154, 
    2163, 2164, 2165, 2167, 2168, 2170, 
    2175, 2176, 2177, 2179, 2180, 2181, 
    2185, 2186, 2187, 2190, 2191, 2194, 
    2206, 2207, 2217, 2218, 2220, 2221, 
    2222, 2223, 3238, 766
  )

Query time 0.01259

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "170.41"
    },
    "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": 71,
      "rows_produced_per_join": 71,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (2638,3150,3152,3155,3246,3247,2103,2104,2105,2106,2107,2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118,2119,2120,2122,2125,2126,2131,2134,2135,2136,2137,2138,2141,2142,2143,2144,2147,2148,2149,2151,2153,2154,2163,2164,2165,2167,2168,2170,2175,2176,2177,2179,2180,2181,2185,2186,2187,2190,2191,2194,2206,2207,2217,2218,2220,2221,2222,2223,3238,766))",
      "cost_info": {
        "read_cost": "156.21",
        "eval_cost": "14.20",
        "prefix_cost": "170.41",
        "data_read_per_join": "109K"
      },
      "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
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
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
2119 280 #4682b4 77 default
2120 280 #6495ed 84 default
2122 280 #87cefa 93 default
2125 280 #add8e6 104 default
2126 280 #b0c4de 105 default
2131 280 #e0ffff 114 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
2141 280 #008b8b 147 default
2142 280 #008080 148 default
2143 280 #2f4f4f 151 default
2144 280 #2e8b57 161 default
2147 280 #808000 172 default
2148 280 #556b2f 173 default
2149 280 #228b22 180 default
2151 280 #006400 182 default
2153 280 #8fbc8f 201 default
2154 280 #9acd32 209 default
2163 280 #f0fff0 241 default
2164 280 #f5fffa 242 default
2165 280 #fffacd 243 default
2167 280 #ffffe0 247 default
2168 280 #f5f5dc 248 default
2170 280 #faebd7 252 default
2175 280 #ffe4b5 257 default
2176 280 #ffdab9 260 default
2177 280 #ffdead 261 default
2179 280 #f0e68c 266 default
2180 280 #ffff00 272 default
2181 280 #ffd700 279 default
2185 280 #bdb76b 301 default
2186 280 #daa520 308 default
2187 280 #b8860b 311 default
2190 280 #8b4513 339 default
2191 280 #d2691e 352 default
2194 280 #ffa07a 367 default
2206 280 #bc8f8f 415 default
2207 280 #ffe4e1 428 default
2217 280 #ff00ff 471 default
2218 280 #ba55d3 475 default
2220 280 #7b68ee 488 default
2221 280 #483d8b 491 default
2222 280 #4b0082 497 default
2223 280 #8b008b 501 default
2638 31 #ffffff 110 default
3150 31 #ffffff 112 default
3152 31 #ffffff 114 default
3155 31 #ffffff 116 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default