You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's-ash' and active_page_id='933'' at line 1
select * from locations_new where postcode = 'HP14' and title2 = 'walter's-ash' and active_page_id='933'