SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 1547, 1548, 1553, 1555, 1560, 
    1561, 1566, 1572, 1575, 1580, 1576, 
    1587, 1595, 2212, 2229, 766
  )

Query time 0.00146

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "43.21"
    },
    "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": 18,
      "rows_produced_per_join": 18,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,1547,1548,1553,1555,1560,1561,1566,1572,1575,1580,1576,1587,1595,2212,2229,766))",
      "cost_info": {
        "read_cost": "39.61",
        "eval_cost": "3.60",
        "prefix_cost": "43.21",
        "data_read_per_join": "27K"
      },
      "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
1547 239 #ffffff 0 default
1548 239 #ffffff 0 default
1553 240 #ffffff 0 default
1555 240 #ffffff 0 default
1560 241 #ffffff 0 default
1561 241 #ffffff 0 default
1566 241 #ffffff 0 default
1572 242 #ffffff 1 default
1575 242 #ffffff 4 default
1576 243 #ffffff 0 default
1580 243 #ffffff 0 default
1587 244 #ffffff 0 default
1595 245 #ffffff 0 default
2212 280 #ff1493 453 default
2229 280 #dda0dd 526 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default