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 `conversation_users` ADD INDEX `conversation_users_idx_conversation_id_user_id` (`conversation_id`,`user_id`);
SELECT
conversation_users.user_id,
conversation_users.conversation_id
FROM
conversation_users
WHERE
EXISTS (
SELECT
1
FROM
conversation_users AS conversation_users1
WHERE
(
conversation_users1.user_id = 1
)
AND (
conversation_users.conversation_id = conversation_users1.conversation_id
)
)