SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Bad{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCity = 'Bad' OR prZip = 'Bad' OR prStreet LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Bad{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCountry = 'Bad') AND (prLocation LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Honnef{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCity = 'Honnef' OR prZip = 'Honnef' OR prStreet LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Honnef{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCountry = 'Honnef') AND (prLocation LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Germany{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}Germany{66d2ee5b6e66af00a8193a34f7dab20062026e92b2d267e524113da4b22ea8bc}' OR prCountry = 'Germany')