I assume the c is a typo in the number above. Are all domains slowly resolving or is this specific to your custom DNS records? Could you maybe provide a screenshot from the Query Log page showing a few reply times for a few queries?
Follow this thread since a few days, I‘ve the same issue. The web interface is loading slow, mostly into timeout. Behind the scenes, Pi-Hole is working well.
I am using a Proxmox LXC with Debian Bookworm, pi-hole installation is at the latest state.
At the moment it is not possible to come into the dashboard. Maybe every 10th try with long waiting times. I‘ve around 150 clients at my home (all around), 1,7Mio entry’s in my blocklist.
Try to install Proxmox (if you don’t have), take the Proxmox-Helper for pihole (it will install a LXC with pihole 5), disable the Webserver and install pihole 6 (you know better how to do). I had no problems around 2 weeks with this constellation, since last weekend the problems are there.