SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}Barth{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}' OR prCity = 'Barth' OR prZip = 'Barth' OR prStreet LIKE '{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}Barth{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}' OR prCountry = 'Barth') AND (prLocation LIKE '{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}Germany{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}Germany{186dce097f378abef761589b3f704406f5dd2552762a9393b0eb7e1b26deb7c4}' OR prCountry = 'Germany')