SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 209, 211, 225, 227, 228, 231, 
    237, 508, 495, 524, 525, 538, 214, 1675, 
    1676, 2242, 2243, 2244, 768, 769, 2250, 
    3156, 771, 2105, 2115, 2135, 2137, 2162, 
    2165, 2191, 2195, 2197, 2221, 766
  )

Query time 0.00817

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "86.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": 36,
      "rows_produced_per_join": 36,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,209,211,225,227,228,231,237,508,495,524,525,538,214,1675,1676,2242,2243,2244,768,769,2250,3156,771,2105,2115,2135,2137,2162,2165,2191,2195,2197,2221,766))",
      "cost_info": {
        "read_cost": "79.21",
        "eval_cost": "7.20",
        "prefix_cost": "86.41",
        "data_read_per_join": "55K"
      },
      "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
209 26 #ffffff 0 default
211 26 #ffffff 0 default
214 27 #ffffff 0 default
225 28 #ffffff 0 default
227 28 #ffffff 0 default
228 28 #ffffff 0 default
231 29 #ffffff 0 default
237 29 #ffffff 0 default
495 83 #ffffff 1 default
508 87 #ffffff 2 default
524 92 #ffffff 2 default
525 92 #ffffff 3 default
538 97 #ffffff 2 default
766 132 #ffffff 1 default
768 133 #ffffff 11 default
769 133 #ffffff 12 default
771 133 #ffffff 15 default
1675 133 #ffffff 1 default
1676 133 #ffffff 2 default
2105 280 #808080 23 default
2115 280 #0000cd 60 default
2135 280 #7fffd4 134 default
2137 280 #48d1cc 137 default
2162 280 #98fb98 235 default
2165 280 #fffacd 243 default
2191 280 #d2691e 352 default
2195 280 #e9967a 368 default
2197 280 #f08080 372 default
2221 280 #483d8b 491 default
2242 133 #ffffff 3 default
2243 133 #ffffff 4 default
2244 133 #ffffff 5 default
2250 133 #ffffff 13 default
3156 133 #ffffff 15 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default