Медленно работает этот запрос. Как можно ускорить или что изменить?
SELECT DISTINCT j.id, j.job_code, j.title, j.details, j.city, j.state, j.published,
j.date_added, j.date_published, j.user_id, j.user_type, j.visa, j.term, r.company_name
AS recruiter,
(SELECT email_address FROM recruiter_user ru
WHERE ru.recruiter_id=j.recruiter_id AND user_type="primary")
AS recruiter_email,
(SELECT s.specialty FROM specialty s WHERE j.specialty_id=s.id) AS specialty,
(SELECT group_concat(s2.state ORDER BY s2.state) from job_state s2 WHERE s2.job_id = j.id)
AS job_states
FROM job j
LEFT JOIN recruiter r ON j.recruiter_id = r.id
WHERE ( published = 1)
ORDER BY j.date_published
DESC LIMIT 0, 30;