Hello,
This Select from LIPS table takes too long, actually ends in a TIME OUT in production system.
LIPS table has only about 140.000 records.

Internal tabla LT_AUX has only 3 records ! It's not empty...
We are accesing using the key fields:

I did the same select in SE16 and its very fast.
I've made a ST05 trace in quality system and see the following:

Why it's doing these nested loops??
Thanks.