Add index on job_ids