CREATE INDEX idx_jobs_inproduction_true ON jobs(inproduction) WHERE inproduction = true;