Display parameters in the sql query and add explain feature