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