SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2258, 2265, 2277, 2280, 2285, 
    2295, 2297, 2303, 2304, 2308, 2312, 
    2318, 2322, 2315, 2133, 2231, 766
  )

Query time 0.00058

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "45.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": 19,
      "rows_produced_per_join": 19,
      "filtered": "100.00",
      "index_condition": "(`jmj_test`.`jmj_product_feature_variants`.`variant_id` in (3246,3247,2258,2265,2277,2280,2285,2295,2297,2303,2304,2308,2312,2318,2322,2315,2133,2231,766))",
      "cost_info": {
        "read_cost": "41.81",
        "eval_cost": "3.80",
        "prefix_cost": "45.61",
        "data_read_per_join": "29K"
      },
      "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
2133 280 #afeeee 125 default
2231 280 #fff0f5 540 default
2258 281 #ffffff 0 default
2265 281 #ffffff 0 default
2277 282 #ffffff 0 default
2280 282 #ffffff 0 default
2285 283 #ffffff 0 default
2295 283 #ffffff 0 default
2297 283 #ffffff 0 default
2303 284 #ffffff 2 default
2304 284 #ffffff 3 default
2308 285 #ffffff 2 default
2312 286 #ffffff 1 default
2315 287 #ffffff 0 default
2318 288 #ffffff 0 default
2322 288 #ffffff 0 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default