SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}Kirchheim{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCity = 'Kirchheim' OR prZip = 'Kirchheim' OR prStreet LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}Kirchheim{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCountry = 'Kirchheim') AND (prLocation LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}bei{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCity = 'bei' OR prZip = 'bei' OR prStreet LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}bei{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCountry = 'bei') AND (prLocation LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}München{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCity = 'München' OR prZip = 'München' OR prStreet LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}München{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCountry = 'München') AND (prLocation LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}Germany{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}Germany{7b643d5fc39d692aaf67de3ecbe71bfd7c1cee62e862ae651ce21f16a93d75c4}' OR prCountry = 'Germany')