SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}Созопол{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}' OR prCity = 'Созопол' OR prZip = 'Созопол' OR prStreet LIKE '{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}Созопол{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}' OR prCountry = 'Созопол') AND (prLocation LIKE '{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}България{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}' OR prCity = 'България' OR prZip = 'България' OR prStreet LIKE '{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}България{8cbef05ef6eacbaa5fdcdeb99077b8177c92ba8d119f2d33f5da807c8207d023}' OR prCountry = 'България')