It's also 2 socket, 20 core, 8 thread per core = 160 hardware thread system. And it's not general queries, but just "point selects" from 20 tables of 1 million rows combined.
That's far from typical hardware to deploy maria/mysql on, and far from realistic workload.