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 `ssearchesdata` ADD INDEX `ssearchesdata_idx_id` (`id`);
ALTER TABLE `ssearchtermmap` ADD INDEX `ssearchtermmap_idx_ssearchaccounti_updated` (`ssearchaccountid`,`updated`);
SELECT
1
FROM
ssearchesdata
WHERE
ssearchesdata.id IN (
SELECT
ssearchtermmap.ssearchesdataid
FROM
ssearchtermmap
WHERE
ssearchtermmap.ssearchaccountid = ?
AND ssearchtermmap.updated BETWEEN ? AND ?
)