TourController.php#54bookingcore2.6msselectcount(*) as aggregate from (select `bravo_tours`.*from `bravo_tours` innerjoin `bravo_locations` on `bravo_locations`.`id` = `bravo_tours`.`location_id` and `bravo_locations`.`_lft` >=1and `bravo_locations`.`_rgt` <=2where `bravo_tours`.`status` ='publish'and `bravo_tours`.`deleted_at` isnullgroupby `bravo_tours`.`id`) as `aggregate_table`
TourController.php#54bookingcore360μsselect*from `bravo_location_translations` where `locale` ='ja'and `bravo_location_translations`.`origin_id` in (1)
Bindings
0:ja
Hints
Use SELECT * only if you need all columns from table
TourController.php#96bookingcore2.48msselect `bravo_terms`.*, (selectcount(*) from `bravo_tours` innerjoin `bravo_tour_term` on `bravo_tours`.`id` = `bravo_tour_term`.`tour_id` where `bravo_terms`.`id` = `bravo_tour_term`.`term_id` and `bravo_tours`.`deleted_at` isnull) as `tour_count` from `bravo_terms` where `bravo_terms`.`attr_id` in (1, 2) and `bravo_terms`.`deleted_at` isnull