If the job is active, use the QSYS2.ACTIVE_JOB_INFO table function and try to restrict the amount of information that you retrieve in the first place:
select *
from table(
active_job_info(
job_name_filter => 'MYJOB',
current_user_list_filter => 'USERA,USERB',
subsystem_list_filter => 'QINTER,QBATCH',
detailed_info => 'NONE'
)
);
By using the filter parameters you restrict the amount of information that has to be collected. So try to restrict as much as possible before using WHERE conditions.
This way the function(s) perform quite fast.