That setting seems to be stored in the profile directory in a file called
search-metadata.jsonI changed the alias for Google to 'gggggl', and this is how it's stored:
{"[app]/google.xml":{"used":1,"alias":"gggggl"}}
It references the search definitions as found in {firefoxProgramFilesDir}/searchplugins (*.xml)