MySQL error: Unknown column 'mystery' in 'where clause'