If you don't need up to the second freshness, I'd recommend using QLever instead of WDQS. It returns a couple million results (which seems low, but I didn't double check your query) in a second or two. They are currently running the dump version 17.07.2025