Query SELECT * FROM `locations` WHERE `name` = ? AND `country_sid` = '227' AND `city` = 'St. John's' AND `state` = 'Missouri' LIMIT 1 : 
Statement could not be executed (42000 - 1064 - 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' AND `state` = 'Missouri' LIMIT 1' at line 1)