CHANGE: Speedup the Request query

Remove status and request type checking in the query, do the filtering
after.

Check with K Ciba if this is fine?
Merge pull request #1415 from sposs/RequestDBSpeedup

CHANGE: Speedup the Request query