Is this going to put a lot of additional load on the MySQL database? This lookup on a per-user basis should be highly cacheable as it's very rare for there to be a state transition here.