SELECT 
  * 
FROM 
  jmj_product_feature_variants 
WHERE 
  variant_id IN (
    3246, 3247, 2334, 2339, 2353, 2354, 2355, 
    2363, 2373, 2366, 2369, 2371, 2372, 
    2376, 2639, 2129, 2232, 766
  )

Query time 0.01857

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,2334,2339,2353,2354,2355,2363,2373,2366,2369,2371,2372,2376,2639,2129,2232,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
2129 280 #f8f8ff 112 default
2232 280 #fdf5e6 543 default
2334 289 #ffffff 0 default
2339 290 #ffffff 0 default
2353 291 #ffffff 1 default
2354 291 #ffffff 2 default
2355 291 #ffffff 3 default
2363 292 #ffffff 0 default
2366 293 #ffffff 1 default
2369 293 #ffffff 4 default
2371 294 #ffffff 0 default
2372 294 #ffffff 0 default
2373 295 #ffffff 1 default
2376 296 #ffffff 0 default
2639 339 #ffffff 0 default
3246 31 #ffffff 130 default
3247 31 #ffffff 131 default