change the column type to include the BINARY keyword will make all comparisons on that column case sensitive. e.g.:
if the column is now defined as
userid varchar(32), change it to:
userid varchar(32) binary
You can do this with the ALTER TABLE statement. Don't worry, your data will be preserved.