Both links are just the prefill of the search page and pageidx can't be entered. PageIdx is used on the result page where a link for next page contains the correct pageidx parameter, but that is not possible in CSV file. You have to construct the link manually.
The actuall result is retrieved using
https://plus.wikitree.com/function/WTWebProfileSearch/Profiles.csv?
followed by the query parameter
Query=TemplateFull%3DUS_Black_Heritage%20not%20birthlocation%3Dmissinglocation%20or%20TemplateFull%3DAfrican-American_Sticker%20not%20birthlocation%3Dmissinglocation%20or%20TemplateFull%3DUSBH_Platinum%20not%20birthlocation%3Dmissinglocation
and the control ones
&format=CSV&MaxProfiles=500000&pagesize=100000&pageIdx=0
or
&format=CSV&MaxProfiles=500000&pagesize=100000&pageIdx=1
I wouldn't use &SortOrder=BiLoc parameter since you are able to sort the results as you need and default order is much faster to process for wt+ server.