SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2427, 2428, 2438, 2439, 2442, 
    2452, 2454, 3141, 2465, 2459, 2460, 
    2458, 3142, 2182, 2237, 766
  )

Query time 0.00189

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,2427,2428,2438,2439,2442,2452,2454,3141,2465,2459,2460,2458,3142,2182,2237,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
2182 280 #ffa500 288 default
2237 280 #f5f5f5 550 default
2427 305 #ffffff 0 default
2428 305 #ffffff 0 default
2438 306 #ffffff 0 default
2439 306 #ffffff 0 default
2442 307 #ffffff 0 default
2452 307 #ffffff 0 default
2454 308 #ffffff 2 default
2458 309 #ffffff 3 default
2459 310 #ffffff 1 default
2460 310 #ffffff 2 default
2465 311 #ffffff 0 default
3141 308 #ffffff 4 default
3142 418 #ffffff 0 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default