SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2103, 2104, 2112, 2117, 2119, 
    2121, 2129, 2133, 2137, 2143, 2182, 
    2201, 2202, 2204, 2205, 2209, 2211, 
    2229, 2231, 2232, 2237, 2238, 2239, 
    3238, 766
  )

Query time 0.00834

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "64.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": 27,
      "rows_produced_per_join": 27,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2103,2104,2112,2117,2119,2121,2129,2133,2137,2143,2182,2201,2202,2204,2205,2209,2211,2229,2231,2232,2237,2238,2239,3238,766))",
      "cost_info": {
        "read_cost": "59.41",
        "eval_cost": "5.40",
        "prefix_cost": "64.81",
        "data_read_per_join": "41K"
      },
      "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
2104 280 #696969 17 default
2112 280 #191970 52 default
2117 280 #4169e1 70 default
2119 280 #4682b4 77 default
2121 280 #00bfff 88 default
2129 280 #f8f8ff 112 default
2133 280 #afeeee 125 default
2137 280 #48d1cc 137 default
2143 280 #2f4f4f 151 default
2182 280 #ffa500 288 default
2201 280 #ff0000 381 default
2202 280 #b22222 391 default
2204 280 #8b0000 396 default
2205 280 #800000 397 default
2209 280 #ffb6c1 433 default
2211 280 #ff69b4 449 default
2229 280 #dda0dd 526 default
2231 280 #fff0f5 540 default
2232 280 #fdf5e6 543 default
2237 280 #f5f5f5 550 default
2238 280 #fffafa 552 default
2239 280 #ffffff 554 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default