fix: [performance] slight tuning for the fetchEvent() function
fix: [performance] slight tuning for the fetchEvent() function

SteveClement/MISP,Rafiot/MISP,MISP/MISP,MISP/MISP,MISP/MISP,FloatingGhost/MISP,SteveClement/MISP,SteveClement/MISP,FIRSTdotorg/MISP,SteveClement/MISP,SteveClement/MISP,FloatingGhost/MISP,Rafiot/MISP,MISP/MISP,FIRSTdotorg/MISP,FloatingGhost/MISP,FloatingGhost/MISP,devnull-/MISP,devnull-/MISP,FIRSTdotorg/MISP,Rafiot/MISP,devnull-/MISP,FIRSTdotorg/MISP,MISP/MISP,Rafiot/MISP,devnull-/MISP