select*from `media_price` whereexists (select*from `media_setting` where `media_price`.`media_setting_id` = `media_setting`.`id` and `event_id` =162and `media_setting`.`deleted_at` isnull) and `user_id` in (163256, 259911, 1) and `media_price`.`deleted_at` isnull1.17ms/app/Http/Controllers/Media/EventController.php:357runningconnect
select*from `users` where `users`.`id` in (163256) and `users`.`deleted_at` isnull700μs/app/Http/Controllers/Media/EventController.php:459runningconnect
select `id` from `events` where `events`.`id` in (162) and `events`.`deleted_at` isnull720μs/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 (162) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc810μs/app/Http/Controllers/Media/EventController.php:459runningconnect