SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3232, 3246, 3247, 833, 835, 841, 842, 
    846, 849, 853, 856, 858, 860, 863, 865, 
    868, 873, 876, 882, 885, 886, 888, 890, 
    2103, 2104, 2106, 2112, 2113, 2140, 
    2163, 2170, 2180, 2181, 2183, 2188, 
    2194, 2196, 2204, 2213, 766
  )

Query time 0.01483

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "96.01"
    },
    "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": 40,
      "rows_produced_per_join": 40,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3232,3246,3247,833,835,841,842,846,849,853,856,858,860,863,865,868,873,876,882,885,886,888,890,2103,2104,2106,2112,2113,2140,2163,2170,2180,2181,2183,2188,2194,2196,2204,2213,766))",
      "cost_info": {
        "read_cost": "88.01",
        "eval_cost": "8.00",
        "prefix_cost": "96.01",
        "data_read_per_join": "61K"
      },
      "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
833 143 #ffffff 0 default
835 144 #ffffff 0 default
841 145 #ffffff 0 default
842 145 #ffffff 0 default
846 145 #ffffff 0 default
849 146 #ffffff 0 default
853 146 #ffffff 0 default
856 146 #ffffff 0 default
858 146 #ffffff 0 default
860 146 #ffffff 0 default
863 147 #ffffff 0 default
865 148 #ffffff 0 default
868 148 #ffffff 0 default
873 149 #ffffff 0 default
876 150 #ffffff 3 default
882 151 #ffffff 0 default
885 152 #ffffff 0 default
886 152 #ffffff 0 default
888 153 #ffffff 2 default
890 153 #ffffff 4 default
2103 280 #000000 0 default
2104 280 #696969 17 default
2106 280 #a9a9a9 25 default
2112 280 #191970 52 default
2113 280 #000080 53 default
2140 280 #5f9ea0 145 default
2163 280 #f0fff0 241 default
2170 280 #faebd7 252 default
2180 280 #ffff00 272 default
2181 280 #ffd700 279 default
2183 280 #deb887 294 default
2188 280 #cd853f 313 default
2194 280 #ffa07a 367 default
2196 280 #fa8072 371 default
2204 280 #8b0000 396 default
2213 280 #dc143c 458 default
3232 31 #ffffff 120 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default