prefetch to avoid N+1 queries due to new attachment table

6 jobs for attachments in 3 minutes and 10 seconds (queued for 2 seconds)