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