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 = 'stjohnswoodflorist.co.uk'' at line 1

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