SELECT title, controller, item_id FROM seo WHERE (title = 'he') OR (controller = 'he' AND item_id = a) AND delete_tmstp IS NULL LIMIT 1SQLSTATE[42S22]: Column not found: 1054 Unknown column 'a' in 'where clause'