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