Reduce redis calls in orphan clean up task
What does this MR do and why?
This is related to https://gitlab.com/gitlab-com/gl-infra/production/-/issues/17579#note_1784238524.
This is to improve performance of the rake task that lists orphan artifact objects. We want to reduce the amount of redis calls done in each batch so instead of individual hexists?
calls, we would do a single hmget
call per batch.