SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2749, 2750, 2773, 2783, 2785, 
    2801, 2802, 2803, 2805, 2806, 2816, 
    2817, 2823, 2825, 2826, 2827, 2828, 
    2202, 2211, 766
  )

Query time 0.01010

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "52.81"
    },
    "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": 22,
      "rows_produced_per_join": 22,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2749,2750,2773,2783,2785,2801,2802,2803,2805,2806,2816,2817,2823,2825,2826,2827,2828,2202,2211,766))",
      "cost_info": {
        "read_cost": "48.41",
        "eval_cost": "4.40",
        "prefix_cost": "52.81",
        "data_read_per_join": "34K"
      },
      "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
2202 280 #b22222 391 default
2211 280 #ff69b4 449 default
2749 361 #ffffff 0 default
2750 361 #ffffff 0 default
2773 362 #ffffff 0 default
2783 363 #ffffff 0 default
2785 363 #ffffff 0 default
2801 364 #ffffff 0 default
2802 364 #ffffff 0 default
2803 364 #ffffff 0 default
2805 364 #ffffff 0 default
2806 365 #ffffff 1 default
2816 366 #ffffff 0 default
2817 366 #ffffff 0 default
2823 367 #ffffff 2 default
2825 368 #ffffff 0 default
2826 368 #ffffff 0 default
2827 369 #ffffff 0 default
2828 369 #ffffff 0 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default