The non-profit Dream American which consulted on this episode was founded by Jose Antonio Vargas who like Mateo is a undocumented immigrant from the Philippines who arrived in the US as child so it's not completely hopeless for Mateo. One plausible path is a bona fide marriage to a US citizen and request an adjustment to his immigration status.