SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}Weßling{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}' OR prCity = 'Weßling' OR prZip = 'Weßling' OR prStreet LIKE '{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}Weßling{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}' OR prCountry = 'Weßling') AND (prLocation LIKE '{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}Germany{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}Germany{3987c6584252c3559d741fe70770250b2a302cfb0a3040eac972e13b63e100e2}' OR prCountry = 'Germany')