EventController.php#53bookingcore6.26msselectcount(*) as aggregate from (select `bravo_events`.*from `bravo_events` where `bravo_events`.`status` ='publish'and `bravo_events`.`deleted_at` isnullgroupby `bravo_events`.`id`) as `aggregate_table`
EventController.php#53bookingcore1.13msselect*from `bravo_locations` where `bravo_locations`.`id` in (1, 2, 3, 4, 5, 6, 7) and `bravo_locations`.`deleted_at` isnull
Hints
Use SELECT * only if you need all columns from table
EventController.php#94bookingcore1.46msselect `bravo_terms`.*, (selectcount(*) from `bravo_events` innerjoin `bravo_event_term` on `bravo_events`.`id` = `bravo_event_term`.`target_id` where `bravo_terms`.`id` = `bravo_event_term`.`term_id` and `bravo_events`.`deleted_at` isnull) as `event_count` from `bravo_terms` where `bravo_terms`.`attr_id` in (11) and `bravo_terms`.`deleted_at` isnull