New solutions to Einstein-Maxwell equations of cosmological interest