Verify the following index and include it if it works for all databases and improve the query performance.
create index IDX_LOCK_EXP_TIME_ACT_RU_JOB on ACT_RU_JOB("LOCK_EXP_TIME_") ; create index IDX_SUSP_STATE_RETRIES_ACT_RU_JOB on ACT_RU_JOB("SUSPENSION_STATE_","RETRIES_");