Currently the maximum duration of a job is "hard-coded" at the organization level, and is solely based on the organization's plan.
You will need to store a personal API token (it can be a personal API token generated for a machine-user) in a project-level or context-level environment variable.
Add the following as the first step of your job:
name: Set maximum job duration to 90 minutes
curl --request POST \
--url https://circleci.com/api/v2/project/gh/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/job/$CIRCLE_BUILD_NUM/cancel \
--header "Circle-Token: $CIRCLECI_API_TOKEN"
CIRCLE_BUILD_NUM, are built-in environment variables, and are automatically populated for each job.