SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}Wittmund{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}' OR prCity = 'Wittmund' OR prZip = 'Wittmund' OR prStreet LIKE '{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}Wittmund{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}' OR prCountry = 'Wittmund') AND (prLocation LIKE '{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}Germany{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}Germany{9bfc917d0fa8bfd0de9f024ea00348a5da71b7e8c6ef280c3b74a9ed4179a392}' OR prCountry = 'Germany')