improve lookup while no indexes are present