The issue is that in Docker EXPLAIN runs forever, it never finishes, like the issue we had on the replica. This means I have a 100% repro of the issue and I can do whatever you tell me to do to find out what caused it.
Is this 100% CPU bound? 'perf top -p <pid>' would probably be my first tool to use here.
Also, it would be nice to know if an upgrade to a newer major version fixed the problem.