MySQL query error: SELECT * FROM WHERE url='' AND status='Published'