NXP-13578: Refactor DB to use parametrized queries
NXP-13578: Use parameters also pour simple query