select*from `media_price` whereexists (select*from `media_setting` where `media_price`.`media_setting_id` = `media_setting`.`id` and `event_id` =43and `media_setting`.`deleted_at` isnull) and `user_id` in (1984, 1, 1987, 117131) and `media_price`.`deleted_at` isnull1.08ms/app/Http/Controllers/Media/EventController.php:362runningconnect
select `id` from `events` where `events`.`id` in (43) and `events`.`deleted_at` isnull750μs/app/Http/Controllers/Media/EventController.php:464runningconnect
select `id`, `is_watermark`, `event_id`, `height`, `is_frame` from `media_setting` where `media_setting`.`event_id` in (43) and `is_buyable` =1and `media_setting`.`deleted_at` isnullorderby `media_setting`.`height` desc1.16ms/app/Http/Controllers/Media/EventController.php:464runningconnect