SELECT 
  cscart_products.* 
FROM 
  cscart_products 
WHERE 
  cscart_products.product_id IN (
    515, 514, 513, 512, 511, 510, 509, 508, 
    507, 506, 505, 504, 503, 502, 501, 499, 
    500, 498, 497, 496, 495, 494, 493, 492, 
    491, 490, 489, 488, 487, 486, 485, 484, 
    483, 482, 481, 480, 479, 478, 477, 476, 
    475, 474, 473, 472, 471, 470, 469, 468
  )

Query time 0.00085

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "97.86"
    },
    "table": {
      "table_name": "cscart_products",
      "access_type": "ALL",
      "possible_keys": [
        "PRIMARY"
      ],
      "rows_examined_per_scan": 362,
      "rows_produced_per_join": 48,
      "filtered": "13.26",
      "cost_info": {
        "read_cost": "88.26",
        "eval_cost": "9.60",
        "prefix_cost": "97.86",
        "data_read_per_join": "211K"
      },
      "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",
        "facebook_obj_type",
        "parent_product_id",
        "buy_now_url",
        "units_in_product",
        "show_price_per_x_units",
        "is_mobilede",
        "seller_id",
        "mdc_product_id"
      ],
      "attached_condition": "(`danishecarter_latest`.`cscart_products`.`product_id` in (515,514,513,512,511,510,509,508,507,506,505,504,503,502,501,499,500,498,497,496,495,494,493,492,491,490,489,488,487,486,485,484,483,482,481,480,479,478,477,476,475,474,473,472,471,470,469,468))"
    }
  }
}

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 facebook_obj_type parent_product_id buy_now_url units_in_product show_price_per_x_units is_mobilede seller_id mdc_product_id
468 mdc_1145455 P A 4 7600.00 1 35000.000 0 0 0 0.00 0 1743749402 1743749402 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145455
469 mdc_1145456 P A 4 36700.00 1 26000.000 0 0 0 0.00 0 1743749406 1743749406 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145456
470 mdc_1145457 P A 4 27200.00 1 18000.000 0 0 0 0.00 0 1743749410 1743749410 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145457
471 mdc_1145458 P A 4 52000.00 1 18000.000 0 0 0 0.00 0 1743749415 1743749415 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145458
472 mdc_1145459 P A 4 4800.00 1 36000.000 0 0 0 0.00 0 1743749420 1743749420 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145459
473 mdc_1145460 P A 4 22400.00 1 18000.000 0 0 0 0.00 0 1743749424 1743749424 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145460
474 mdc_1145461 P A 4 22400.00 1 18000.000 0 0 0 0.00 0 1743749428 1743749428 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145461
475 mdc_1145462 P A 4 41900.00 1 18000.000 0 0 0 0.00 0 1743749433 1743749433 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145462
476 mdc_1145463 P A 4 10000.00 1 11990.000 0 0 0 0.00 0 1743749438 1743749438 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145463
477 mdc_1145464 P A 4 23200.00 1 35000.000 0 0 0 0.00 0 1743749439 1743749439 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145464
478 mdc_1145465 P A 4 23200.00 1 35000.000 0 0 0 0.00 0 1743749444 1743749444 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145465
479 mdc_1145466 P A 4 22000.00 1 36000.000 0 0 0 0.00 0 1743749445 1743749445 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145466
480 mdc_1145467 P A 4 22000.00 1 36000.000 0 0 0 0.00 0 1743749449 1743749449 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145467
481 mdc_1145468 P A 4 28000.00 1 18000.000 0 0 0 0.00 0 1743749450 1743749450 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145468
482 mdc_1145469 P A 4 28000.00 1 7490.000 0 0 0 0.00 0 1743749455 1743749455 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145469
483 mdc_1145470 P A 4 28000.00 1 7490.000 0 0 0 0.00 0 1743749460 1743749460 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145470
484 mdc_1145471 P A 4 6500.00 1 18000.000 0 0 0 0.00 0 1743749461 1743749461 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145471
485 mdc_1145472 P A 4 7500.00 1 36000.000 0 0 0 0.00 0 1743749466 1743749466 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145472
486 mdc_1145473 P A 4 22400.00 1 26000.000 0 0 0 0.00 0 1743749470 1743749470 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145473
487 mdc_1145474 P A 4 4000.00 1 35000.000 0 0 0 0.00 0 1743749475 1743749475 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145474
488 mdc_1145475 P A 4 4000.00 1 35000.000 0 0 0 0.00 0 1743749479 1743749479 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145475
489 mdc_1145476 P A 4 22400.00 1 18000.000 0 0 0 0.00 0 1743749480 1743749480 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145476
490 mdc_1145477 P A 4 20000.00 1 18000.000 0 0 0 0.00 0 1743749486 1743749486 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145477
491 mdc_1145478 P A 4 20000.00 1 18000.000 0 0 0 0.00 0 1743749491 1743749491 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145478
492 mdc_1145479 P A 4 12800.00 1 36000.000 0 0 0 0.00 0 1743749495 1743749495 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145479
493 mdc_1145480 P A 4 13880.00 1 18000.000 0 0 0 0.00 0 1743749500 1743749500 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145480
494 mdc_1145654 P A 4 23100.84 1 0.000 0 0 0 0.00 0 1743749505 1743749505 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145654
495 mdc_1145837 P A 4 66072.96 1 0.000 0 0 0 0.00 0 1743749506 1743749506 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145837
496 mdc_1145854 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749507 1743749507 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145854
497 mdc_1145855 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749508 1743749508 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145855
498 mdc_1145856 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749510 1743749510 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145856
499 mdc_1145857 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749511 1743749511 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145857
500 mdc_1145859 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749511 1743749511 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145859
501 mdc_1145861 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749513 1743749513 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145861
502 mdc_1145863 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749514 1743749514 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1145863
503 mdc_1146246 P A 4 2950.00 1 0.000 0 0 0 0.00 0 1743749517 1743749517 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146246
504 mdc_1146247 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749519 1743749519 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146247
505 mdc_1146251 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749523 1743749523 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146251
506 mdc_1146252 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749527 1743749527 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146252
507 mdc_1146254 P A 4 69900.00 1 0.000 0 0 0 0.00 0 1743749532 1743749532 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146254
508 mdc_1146255 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749536 1743749536 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146255
509 mdc_1146256 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749540 1743749540 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146256
510 mdc_1146258 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749544 1743749544 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146258
511 mdc_1146259 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749548 1743749548 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146259
512 mdc_1146262 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749552 1743749552 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146262
513 mdc_1146266 P A 4 5750.00 1 0.000 0 0 0 0.00 0 1743749554 1743749554 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146266
514 mdc_1146267 P A 4 0.00 1 0.000 0 0 0 0.00 0 1743749556 1743749556 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146267
515 mdc_1146268 P A 4 4500.00 1 0.000 0 0 0 0.00 0 1743749557 1743749557 0 N N N N N N N Y 10 0 N N 0 a:5:{s:16:"min_items_in_box";i:0;s:16:"max_items_in_box";i:0;s:10:"box_length";i:0;s:9:"box_width";i:0;s:10:"box_height";i:0;} 0 0.000 1.000 Y 1819 1146268