Understanding the query string after .htaccess rewrite

It’s not really rewriting the URL in the conventional sense, URL parsing happens entirely within PHP.

You can access the query vars in the global $wp_query->query_vars, or with the get_query_var function.

Also note that parse_request is the earliest action where this info will be available.