Added inclusive/exclusive scan_by_key for AMP