You might very well look into the execution of the statement yourself.
Tools like EXPLAIN PLAN and PlanViz allow to understand what the execution plan looks like, where time is spent and if filters are pushed down to the data access.
Just from your explanation it's not possible to say what is causing the problem here.