refactor(minor): DatabaseQuery.prepare_select_args
refactor(minor): DatabaseQuery.prepare_select_args

* Used regex to replace instead of re-iteration (for-loop)
* Used f-strings for better readability
* Renamed and re-ordered vars, code block

almeidapaulopt/frappe,StrellaGroup/frappe,frappe/frappe,yashodhank/frappe,mhbu50/frappe,almeidapaulopt/frappe,yashodhank/frappe,StrellaGroup/frappe,StrellaGroup/frappe,yashodhank/frappe,yashodhank/frappe,mhbu50/frappe,frappe/frappe,frappe/frappe,almeidapaulopt/frappe,mhbu50/frappe,almeidapaulopt/frappe,mhbu50/frappe