No, question URLs are not stored anywhere in the database, they are always generated from the ID and title. You simply pass them into the qa_q_path function:
$url = qa_q_path($questionid, $title);
Or in your case above:
$url = qa_q_path($params['postid'], $params['title']);
See http://question2answer.org/functions.php
Welcome to the Q&A site for Question2Answer.
If you have a question about Q2A, please ask here, in English.
To report a bug, please create a new issue on Github or ask a question here with the bug tag.
If you just want to try Q2A, please use the demo site.