How can I find user role in Mysql?

I’ve decided to use plain Key according to @TomJNowell ‘s comments.
If I would like to search a key in serialized data, I would get those serialized array from DB and use maybe_unserialize() in PHP OR use WP_User_Query in PHP.
Thank you @TomJNowell

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)