Backport PR #42692 on branch 1.3.x (Regression in merge_asof raising KeyError when at least one by columnis in index)
Backport PR #42692: Regression in merge_asof raising KeyError when at least one by columnis in index