SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 776, 778, 790, 797, 812, 817, 
    820, 782, 2103, 2107, 2115, 2142, 2148, 
    2169, 2180, 2196, 2228, 2237, 766
  )

Query time 0.00087

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "50.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": 21,
      "rows_produced_per_join": 21,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,776,778,790,797,812,817,820,782,2103,2107,2115,2142,2148,2169,2180,2196,2228,2237,766))",
      "cost_info": {
        "read_cost": "46.21",
        "eval_cost": "4.20",
        "prefix_cost": "50.41",
        "data_read_per_join": "32K"
      },
      "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
776 134 #ffffff 0 default
778 135 #ffffff 0 default
782 136 #ffffff 0 default
790 137 #ffffff 0 default
797 138 #ffffff 0 default
812 139 #ffffff 0 default
817 140 #ffffff 0 default
820 141 #ffffff 3 default
2103 280 #000000 0 default
2107 280 #c0c0c0 27 default
2115 280 #0000cd 60 default
2142 280 #008080 148 default
2148 280 #556b2f 173 default
2169 280 #fff8dc 249 default
2180 280 #ffff00 272 default
2196 280 #fa8072 371 default
2228 280 #9370db 516 default
2237 280 #f5f5f5 550 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default