Merge pull request #34117 from s-aga-r/github-issue-33344

refactor: rewrite `get_item_details.py` queries in `QB`