SELECT 
  products.* 
FROM 
  products 
WHERE 
  products.product_id IN (
    415685, 420965, 461889, 492249, 339124, 
    364764, 409085, 434165, 450569, 475089, 
    475649, 476969, 362884, 402485, 416245, 
    417005, 445289, 368724, 374764, 396445, 
    364204, 374004, 394565, 417565
  )

Query time 0.00121

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "10.84"
    },
    "table": {
      "table_name": "products",
      "access_type": "range",
      "possible_keys": [
        "PRIMARY"
      ],
      "key": "PRIMARY",
      "used_key_parts": [
        "product_id"
      ],
      "key_length": "3",
      "rows_examined_per_scan": 24,
      "rows_produced_per_join": 24,
      "filtered": "100.00",
      "cost_info": {
        "read_cost": "8.44",
        "eval_cost": "2.40",
        "prefix_cost": "10.84",
        "data_read_per_join": "101K"
      },
      "used_columns": [
        "product_id",
        "product_code",
        "product_type",
        "status",
        "company_id",
        "list_price",
        "amount",
        "weight",
        "length",
        "width",
        "height",
        "shipping_freight",
        "low_avail_limit",
        "timestamp",
        "updated_timestamp",
        "usergroup_ids",
        "is_edp",
        "edp_shipping",
        "unlimited_download",
        "tracking",
        "free_shipping",
        "zero_price_action",
        "is_pbp",
        "is_op",
        "is_oper",
        "is_returnable",
        "return_period",
        "avail_since",
        "out_of_stock_actions",
        "localization",
        "min_qty",
        "max_qty",
        "qty_step",
        "list_qty_count",
        "tax_ids",
        "age_verification",
        "age_limit",
        "options_type",
        "exceptions_type",
        "details_layout",
        "shipping_params",
        "weight_lbs",
        "weight_oz",
        "product_tax_code",
        "deleted_at",
        "archived_at",
        "position"
      ],
      "attached_condition": "(`goimagine`.`products`.`product_id` in (415685,420965,461889,492249,339124,364764,409085,434165,450569,475089,475649,476969,362884,402485,416245,417005,445289,368724,374764,396445,364204,374004,394565,417565))"
    }
  }
}

Result

product_id product_code product_type status company_id list_price amount weight length width height shipping_freight low_avail_limit timestamp updated_timestamp usergroup_ids is_edp edp_shipping unlimited_download tracking free_shipping zero_price_action is_pbp is_op is_oper is_returnable return_period avail_since out_of_stock_actions localization min_qty max_qty qty_step list_qty_count tax_ids age_verification age_limit options_type exceptions_type details_layout shipping_params weight_lbs weight_oz product_tax_code deleted_at archived_at position
339124 GI-339124-CXS P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705940353 1705940353 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
362884 GI-362884-QDM P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705954666 1705954666 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
364204 GI-364204-UEL P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705955546 1705955546 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
364764 GI-364764-KSH P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705955925 1705955925 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
368724 GI-368724-NSR P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705958661 1705958661 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
374004 GI-374004-UES P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705962397 1705962397 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
374764 GI-374764-LQS P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705962939 1705962939 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
394565 GI-394565-YXR P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705977981 1705977981 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
396445 GI-396445-QNP P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705979400 1705979400 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
402485 GI-402485-DPW P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705984091 1705984091 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
409085 GI-409085-WUT P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705990613 1705990613 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
415685 GI-415685-UUN P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705996062 1705996062 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
416245 GI-416245-NCR P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705996528 1705996528 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
417005 GI-417005-BPM P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705997177 1705997177 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
417565 GI-417565-EGF P A 8692 77.00 2 0.688 0 0 0 0.00 0 1705997658 1705997658 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
420965 GI-420965-CHZ P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706000572 1706000572 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
434165 GI-434165-OLA P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706012675 1706012675 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
445289 GI-445289-MDJ P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706023353 1706023353 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
450569 GI-450569-LKM P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706028620 1706028620 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
461889 GI-461889-IBP P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706040462 1706040462 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
475089 GI-475089-QUB P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706055301 1706055301 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
475649 GI-475649-QBV P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706055969 1706055969 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
476969 GI-476969-VIZ P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706057517 1706057517 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647
492249 GI-492249-ZWG P A 8692 77.00 2 0.688 0 0 0 0.00 0 1706075819 1706075819 0 N N N B N R N N N Y 10 0 N 0 0 0 0 N 0 P F a:5:{s:16:"min_items_in_box";i:1;s:16:"max_items_in_box";i:0;s:10:"box_length";i:12;s:9:"box_width";i:8;s:10:"box_height";i:2;} 0.000 11.000 2147483647