SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 169, 173, 197, 205, 176, 76, 
    284, 191, 192, 492, 543, 196, 1675, 1676, 
    2242, 2243, 2244, 2245, 2246, 2103, 
    2105, 2109, 2113, 2115, 2128, 2133, 
    2142, 2148, 2149, 2162, 2176, 2195, 
    2205, 2208, 2227, 2228, 2234, 2237, 
    766
  )

Query time 0.00215

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "98.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": 41,
      "rows_produced_per_join": 41,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,169,173,197,205,176,76,284,191,192,492,543,196,1675,1676,2242,2243,2244,2245,2246,2103,2105,2109,2113,2115,2128,2133,2142,2148,2149,2162,2176,2195,2205,2208,2227,2228,2234,2237,766))",
      "cost_info": {
        "read_cost": "90.21",
        "eval_cost": "8.20",
        "prefix_cost": "98.41",
        "data_read_per_join": "63K"
      },
      "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
76 16 #ffffff 2 default
169 21 #ffffff 0 default
173 21 #ffffff 0 default
176 22 #ffffff 0 default
191 23 #ffffff 1 default
192 23 #ffffff 2 default
196 24 #ffffff 0 default
197 25 #ffffff 0 default
205 25 #ffffff 0 default
284 39 #ffffff 1 default
492 82 #ffffff 1 default
543 98 #ffffff 0 default
766 132 #ffffff 1 default
1675 133 #ffffff 1 default
1676 133 #ffffff 2 default
2103 280 #000000 0 default
2105 280 #808080 23 default
2109 280 #dcdcdc 32 default
2113 280 #000080 53 default
2115 280 #0000cd 60 default
2128 280 #f0f8ff 111 default
2133 280 #afeeee 125 default
2142 280 #008080 148 default
2148 280 #556b2f 173 default
2149 280 #228b22 180 default
2162 280 #98fb98 235 default
2176 280 #ffdab9 260 default
2195 280 #e9967a 368 default
2205 280 #800000 397 default
2208 280 #ffc0cb 432 default
2227 280 #8a2be2 510 default
2228 280 #9370db 516 default
2234 280 #fff5ee 545 default
2237 280 #f5f5f5 550 default
2242 133 #ffffff 3 default
2243 133 #ffffff 4 default
2244 133 #ffffff 5 default
2245 133 #ffffff 6 default
2246 133 #ffffff 7 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default