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:
CREATE INDEX other_table_idx_user_id ON other_table (user_id);
CREATE INDEX user_table_idx_user_id ON user_table (user_id);
SELECT
count(a.user_id)
FROM
user_table a,
other_table b
WHERE
a.user_id = b.user_id