selectMIN(shot_at) as min_date, MAX(shot_at) as max_date from `media` where `status` ='completed'and `event_id` =222and `media`.`deleted_at` isnull limit 127.64ms/app/Http/Controllers/Media/EventController.php:282runningconnect
select*from `media_price` whereexists (select*from `media_setting` where `media_price`.`media_setting_id` = `media_setting`.`id` and `event_id` =222and `media_setting`.`deleted_at` isnull) and `user_id` in (163256, 238327) and `media_price`.`deleted_at` isnull1.94ms/app/Http/Controllers/Media/EventController.php:357runningconnect
select*from `users` where `users`.`id` in (238327) and `users`.`deleted_at` isnull19.36ms/app/Http/Controllers/Media/EventController.php:459runningconnect
select `id` from `events` where `events`.`id` in (222) and `events`.`deleted_at` isnull22.34ms/app/Http/Controllers/Media/EventController.php:459runningconnect
select `id`, `is_watermark`, `event_id`, `height`, `is_frame` from `media_setting` where `media_setting`.`event_id` in (222) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc11.36ms/app/Http/Controllers/Media/EventController.php:459runningconnect