Jinja2 Find In String Sql