db: add indices on location table