Found a TODO in api_app/models.py. The method read_configured_params performs redundant database queries using exists() + first().
I propose to optimize it using select_related and consolidating the conditional logic.
I have already implemented the fix and verified it with tests.
Can I work on this?