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