selectMIN(shot_at) as min_date, MAX(shot_at) as max_date from `media` where `status` ='completed'and `event_id` =149and `media`.`deleted_at` isnull limit 1293ms/app/Http/Controllers/Media/EventController.php:281runningconnect
select*from `media_price` whereexists (select*from `media_setting` where `media_price`.`media_setting_id` = `media_setting`.`id` and `event_id` =149and `media_setting`.`deleted_at` isnull) and `user_id` in (163256, 259911) and `media_price`.`deleted_at` isnull6.35ms/app/Http/Controllers/Media/EventController.php:356runningconnect
deletefrom `cache` where `key` ='laravelTNT2021:count_completed'6.9ms/vendor/laravel/framework/src/Illuminate/Cache/DatabaseStore.php:216runningconnect
selectCOUNT(*) AS c from `media` where `type` ='video'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =149and `media`.`deleted_at` isnull limit 14.86ms/app/Http/Controllers/Media/EventController.php:397runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull4.22ms/app/Http/Controllers/Media/EventController.php:397runningconnect
selectCOUNT(*) AS c from `media` where `type` ='image'and `media`.`status` ='completed'and `is_approved` =1and `media`.`event_id` =149and `media`.`deleted_at` isnull limit 1170ms/app/Http/Controllers/Media/EventController.php:400runningconnect
select*from `media_runner` where `media_runner`.`media_id` in (0) and `media_runner`.`deleted_at` isnull7.32ms/app/Http/Controllers/Media/EventController.php:400runningconnect
select*from `users` where `users`.`id` in (259911) and `users`.`deleted_at` isnull21.49ms/app/Http/Controllers/Media/EventController.php:458runningconnect
select `id` from `events` where `events`.`id` in (149) and `events`.`deleted_at` isnull14.33ms/app/Http/Controllers/Media/EventController.php:458runningconnect
select `id`, `is_watermark`, `event_id`, `height`, `is_frame` from `media_setting` where `media_setting`.`event_id` in (149) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc4.23ms/app/Http/Controllers/Media/EventController.php:458runningconnect