To underline what others have said, here is why using MD5 to hash passwords (especially without a salt) is a bad idea:
https://www.md5online.org/blog/why-md5-is-not-safe/
If you’re wondering how to migrate to a new hashing algorithm, this StackOverflow question has some useful pointers: