SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Lloret{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCity = 'Lloret' OR prZip = 'Lloret' OR prStreet LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Lloret{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCountry = 'Lloret') AND (prLocation LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}de{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCity = 'de' OR prZip = 'de' OR prStreet LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}de{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCountry = 'de') AND (prLocation LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Mar{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCity = 'Mar' OR prZip = 'Mar' OR prStreet LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Mar{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCountry = 'Mar') AND (prLocation LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Spain{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}Spain{956972359b8df27b7ec44d36424a584703892c1bf29834d58aa115b6d80d2d02}' OR prCountry = 'Spain')