selectMIN(shot_at) as min_date, MAX(shot_at) as max_date from `media` where `status` ='completed'and `event_id` =109and `media`.`deleted_at` isnull limit 132.91ms/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` =109and `media_setting`.`deleted_at` isnull) and `user_id` in (208021, 210175) and `media_price`.`deleted_at` isnull4.51ms/app/Http/Controllers/Media/EventController.php:358runningconnect
selectCOUNT(*) AS c from `media` where `type` ='video'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =109and `media`.`deleted_at` isnull limit 11.37ms/app/Http/Controllers/Media/EventController.php:399runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull2.62ms/app/Http/Controllers/Media/EventController.php:399runningconnect
selectCOUNT(*) AS c from `media` where `type` ='image'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =109and `media`.`deleted_at` isnull limit 125.94ms/app/Http/Controllers/Media/EventController.php:402runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull830μs/app/Http/Controllers/Media/EventController.php:402runningconnect
select*from `users` where `users`.`id` in (210175) and `users`.`deleted_at` isnull17.32ms/app/Http/Controllers/Media/EventController.php:460runningconnect
select `id` from `events` where `events`.`id` in (109) and `events`.`deleted_at` isnull20.64ms/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 (109) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc20.11ms/app/Http/Controllers/Media/EventController.php:460runningconnect