In case you have your own slow SQL query, you can optimize it automatically here.
For the query above, the following recommendations will be helpful as part of the SQL tuning process.
You'll find 3 sections below:
ALTER TABLE `daily_summary` ADD INDEX `daily_summary_idx_organisation_li_start_date` (`organisation_licence`,`start_date`);
SELECT
*
FROM
daily_summary
WHERE
daily_summary.organisation_licence = '03312415-585d-42fd-b185-b0ab91dabf35'
AND daily_summary.active
AND daily_summary.start_date >= TIMESTAMP '2019-12-01 '
AND daily_summary.start_date < TIMESTAMP '2020-01-01'