SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 684, 693, 698, 673, 678, 467, 
    710, 671, 1688, 1689, 1690, 1691, 1692, 
    1693, 2103, 2107, 2110, 2111, 2113, 
    2137, 2164, 2191, 2218, 2221, 766
  )

Query time 0.02568

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,684,693,698,673,678,467,710,671,1688,1689,1690,1691,1692,1693,2103,2107,2110,2111,2113,2137,2164,2191,2218,2221,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
467 75 #ffffff 0 default
671 116 #ffffff 2 default
673 117 #ffffff 0 default
678 118 #ffffff 1 default
684 119 #ffffff 0 default
693 119 #ffffff 0 default
698 120 #ffffff 0 default
710 121 #ffffff 2 default
766 132 #ffffff 1 default
1688 255 #ffffff 0 default
1689 255 #ffffff 0 default
1690 255 #ffffff 0 default
1691 255 #ffffff 0 default
1692 255 #ffffff 0 default
1693 255 #ffffff 0 default
2103 280 #000000 0 default
2107 280 #c0c0c0 27 default
2110 280 #778899 37 default
2111 280 #708090 38 default
2113 280 #000080 53 default
2137 280 #48d1cc 137 default
2164 280 #f5fffa 242 default
2191 280 #d2691e 352 default
2218 280 #ba55d3 475 default
2221 280 #483d8b 491 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default