SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2103, 2110, 2111, 2112, 2117, 
    2119, 2122, 2123, 2135, 2137, 2138, 
    2139, 2141, 2149, 2154, 2155, 2163, 
    2164, 2165, 2166, 2171, 2172, 2182, 
    2193, 2194, 2200, 2201, 2202, 2208, 
    2211, 2212, 2213, 2215, 2220, 2221, 
    2222, 2229, 2231, 2239, 3238, 766
  )

Query time 0.01110

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "103.21"
    },
    "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": 43,
      "rows_produced_per_join": 43,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2103,2110,2111,2112,2117,2119,2122,2123,2135,2137,2138,2139,2141,2149,2154,2155,2163,2164,2165,2166,2171,2172,2182,2193,2194,2200,2201,2202,2208,2211,2212,2213,2215,2220,2221,2222,2229,2231,2239,3238,766))",
      "cost_info": {
        "read_cost": "94.61",
        "eval_cost": "8.60",
        "prefix_cost": "103.21",
        "data_read_per_join": "66K"
      },
      "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
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
2122 280 #87cefa 93 default
2123 280 #87ceeb 94 default
2135 280 #7fffd4 134 default
2137 280 #48d1cc 137 default
2138 280 #00ced1 141 default
2139 280 #20b2aa 143 default
2141 280 #008b8b 147 default
2149 280 #228b22 180 default
2154 280 #9acd32 209 default
2155 280 #00ff7f 217 default
2163 280 #f0fff0 241 default
2164 280 #f5fffa 242 default
2165 280 #fffacd 243 default
2166 280 #fafad2 246 default
2171 280 #ffefd5 253 default
2172 280 #ffebcd 254 default
2182 280 #ffa500 288 default
2193 280 #ff7f50 364 default
2194 280 #ffa07a 367 default
2200 280 #ff4500 380 default
2201 280 #ff0000 381 default
2202 280 #b22222 391 default
2208 280 #ffc0cb 432 default
2211 280 #ff69b4 449 default
2212 280 #ff1493 453 default
2213 280 #dc143c 458 default
2215 280 #da70d6 467 default
2220 280 #7b68ee 488 default
2221 280 #483d8b 491 default
2222 280 #4b0082 497 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