SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Castrop-Rauxel{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCity = 'Castrop-Rauxel' OR prZip = 'Castrop-Rauxel' OR prStreet LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Castrop-Rauxel{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCountry = 'Castrop-Rauxel') AND (prLocation LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Henrichenburg{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCity = 'Henrichenburg' OR prZip = 'Henrichenburg' OR prStreet LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Henrichenburg{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCountry = 'Henrichenburg') AND (prLocation LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Germany{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}Germany{00253d4c8ce03755d293f69eefd1795d862ab436dacf18e5af237623ca21f34c}' OR prCountry = 'Germany')