MySQL Error: Unknown column 'pow' in 'where clause'