SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2103, 2105, 2106, 2107, 2112, 
    2113, 2114, 2118, 2122, 2135, 2137, 
    2142, 2151, 2164, 2170, 2181, 2193, 
    2197, 2198, 2201, 2202, 2216, 2218, 
    2223, 2224, 2226, 766
  )

Query time 0.01637

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.61"
    },
    "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": 29,
      "rows_produced_per_join": 29,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2103,2105,2106,2107,2112,2113,2114,2118,2122,2135,2137,2142,2151,2164,2170,2181,2193,2197,2198,2201,2202,2216,2218,2223,2224,2226,766))",
      "cost_info": {
        "read_cost": "63.81",
        "eval_cost": "5.80",
        "prefix_cost": "69.61",
        "data_read_per_join": "44K"
      },
      "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
2112 280 #191970 52 default
2113 280 #000080 53 default
2114 280 #00008b 55 default
2118 280 #1e90ff 75 default
2122 280 #87cefa 93 default
2135 280 #7fffd4 134 default
2137 280 #48d1cc 137 default
2142 280 #008080 148 default
2151 280 #006400 182 default
2164 280 #f5fffa 242 default
2170 280 #faebd7 252 default
2181 280 #ffd700 279 default
2193 280 #ff7f50 364 default
2197 280 #f08080 372 default
2198 280 #cd5c5c 377 default
2201 280 #ff0000 381 default
2202 280 #b22222 391 default
2216 280 #ee82ee 469 default
2218 280 #ba55d3 475 default
2223 280 #8b008b 501 default
2224 280 #800080 502 default
2226 280 #9400d3 505 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default