An occasional traffic ticket is not too big a deal for a pilot, but your record might raise an eyebrow.
The good news is that airlines will forgive you for being young and stupid, but they might want to see a year or two go by with no traffic incidents. Long term you should be fine if you try to drive a little better from here on out. A 30 year old pilot with a lot of recent traffic issues would likely be considered unsuitable for airlines due to lack of judgement and impulse control.
DUI and reckless driving are much more serious problems, but it sounds like you don't have that.
When I anticipate that I'm a year or so away from a job change, I ease up on the gas to avoid getting traffic tickets too close to interview time.