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-wood-nw8' and title = 'flowerdeliverystjohnswood.co.uk'' at line 1

select * from new_cms where title2 = 'send-flowers-st-john's-wood-nw8' and title = 'flowerdeliverystjohnswood.co.uk'