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