Hashes are not encryption algorithms, so you can't "decrypt" them. You can break them with brute force if you have a lot of time 😁
But in this case I think you just want to log in with Flarum. You should really consider using the Flarum forum API for this. Accessing the MySQL database directly from the application is definitely not a good idea