A bomb explosion in northwestern Pakistan's Khyber Pakhtunkhwa province killed at least five people and injured many others.