The pattern of data you're reaching for is a variation on Catalogue. It's the most famous variation, in fact: Cartesian product.
On the Vocabulary listing for Catalogue there's also code for Cartesian product. To get the list you want, just ravel and open the result.
pair=: >@ ,@ { @(,&<)
$ N0 pair N1
25000 2