selectMIN(shot_at) as min_date, MAX(shot_at) as max_date from `media` where `status` ='completed'and `event_id` =129and `media`.`deleted_at` isnull limit 1171ms/app/Http/Controllers/Media/EventController.php:283runningconnect
select*from `media_price` whereexists (select*from `media_setting` where `media_price`.`media_setting_id` = `media_setting`.`id` and `event_id` =129and `media_setting`.`deleted_at` isnull) and `user_id` in (163256, 259911) and `media_price`.`deleted_at` isnull11.75ms/app/Http/Controllers/Media/EventController.php:358runningconnect
select*from `users` where `users`.`id` in (163256, 259911) and `users`.`deleted_at` isnull13.62ms/app/Http/Controllers/Media/EventController.php:460runningconnect
select `id` from `events` where `events`.`id` in (129) and `events`.`deleted_at` isnull11.36ms/app/Http/Controllers/Media/EventController.php:460runningconnect
select `id`, `is_watermark`, `event_id`, `height`, `is_frame` from `media_setting` where `media_setting`.`event_id` in (129) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc21.47ms/app/Http/Controllers/Media/EventController.php:460runningconnect