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