Fix MySQL syntax in db_utils.py