much faster query to get all codelists