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