Tempo resources usage on query

Good morning,
I’m managing a tempo with 14k/min spans received. With 5 queriers with 1 cpu and 5gb of mem and 1 query frontend.
The problem is that just one query getting 60 rows, the service takes 50 seconds and queriers uses all the available memory.
Is there any way to improve it? In the config, I’ve just changed the ingestion limits.