SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3232, 3246, 3247, 891, 895, 897, 903, 
    904, 906, 918, 920, 921, 925, 2103, 2107, 
    2109, 2130, 2136, 2154, 2163, 2165, 
    2167, 2168, 2174, 2179, 2194, 2219, 
    3238, 766
  )

Query time 0.00061

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "69.61"
    },
    "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": 29,
      "rows_produced_per_join": 29,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3232,3246,3247,891,895,897,903,904,906,918,920,921,925,2103,2107,2109,2130,2136,2154,2163,2165,2167,2168,2174,2179,2194,2219,3238,766))",
      "cost_info": {
        "read_cost": "63.81",
        "eval_cost": "5.80",
        "prefix_cost": "69.61",
        "data_read_per_join": "44K"
      },
      "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
891 154 #ffffff 0 default
895 154 #ffffff 0 default
897 154 #ffffff 0 default
903 156 #ffffff 0 default
904 156 #ffffff 0 default
906 156 #ffffff 0 default
918 157 #ffffff 0 default
920 157 #ffffff 0 default
921 157 #ffffff 0 default
925 158 #ffffff 0 default
2103 280 #000000 0 default
2107 280 #c0c0c0 27 default
2109 280 #dcdcdc 32 default
2130 280 #f0ffff 113 default
2136 280 #40e0d0 136 default
2154 280 #9acd32 209 default
2163 280 #f0fff0 241 default
2165 280 #fffacd 243 default
2167 280 #ffffe0 247 default
2168 280 #f5f5dc 248 default
2174 280 #f5deb3 256 default
2179 280 #f0e68c 266 default
2194 280 #ffa07a 367 default
2219 280 #6a5acd 485 default
3232 31 #ffffff 120 default
3238 280 #6f4e37 600 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default