Ok, the reason I was trying to simplify this is because a regular SQL suddenly came extremely slow. So, I figured out it must have been related to that part. But, it was not. I even changed it to 112 but it was not a factor in this case. The cause of the latency was related to a maintenance on the server.