Try to set a statement timeout and see which part of code/application failswhen this query is timed-out.
Will that be a logical way to figure out from where the query is beingfired?