Mariadb/mysql hangs when you search for user to add to journal

Are those 10.000 users real? Sounds like… a lot for a regular journal.

If your OJS was attacked in past by spammers you will like to read this post and apply some of the patterns to clean your user list:

Cheers,
m.