Here's the solution :
$.parties.applicants[?(@.role == 'USER' && @.sequenceNumber == 1)].companyDetails.company
But if you don't have access to sequenceNumber or if sequenceNumber is not the counter, you will have to change your querying language and use JMESPATH or Jq.