One person was killed, another was missing and six were injured in an explosion and fire at a chemical factory in northeastern Spain, local authorities said.