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