perf(db): Improve speed of query in `clear_expired_resolutions`
perf(db): Improve speed of query in `clear_expired_resolutions`

This query is slow because it does an inefficient joni to `sentry_release_project`. Just fetching
the ids separately and doing an in seems to improve things.

beeftornado/sentry,beeftornado/sentry,beeftornado/sentry