There’s nothing to fix. DNS-Over-HTTPS is entirety at the mercy of the DNS server you add in the configuration. I’m using Mullvad’s I believe, so if something doesn’t resolve over their DNS, then it could be that they are either blocked or throttled in resolving the target.
Where do you live that only has 5mbps? It must be somewhere really remote.