Improve MySQL management in !checkban