A veteran Queens cop was busted for allegedly arranging a torrid tryst with two hookers he met while on patrol and in uniform, sources said yesterday.

Officer Luis Gutierrez, 37, of the 114th Precinct in Astoria was arrested Thursday as he arrived to meet the prostitutes in the parking lot of a Wendy’s restaurant on Northern Boulevard.

Gutierrez, a married father, was off-duty when he met up with his would-be paramours — but was in uniform and on duty when he allegedly arranged the rendezvous the day before, sources said.

“He was on patrol with another cop and he was talking to the girls in Spanish,” a source said, adding it’s not believed the second cop understood the conversation.

One or both of the hookers may have been police informants and ratted out the law-enforcement lothario, prompting an Internal Affairs Bureau investigation, the sources added.

Cops were waiting when the 13-year vet showed up at the fast-food joint in civilian clothes and driving his own vehicle, and quickly grabbed him before any sexual hijinks took place, the sources said.

He was charged with patronizing a prostitute, official misconduct and conspiracy.

The women were not charged.