Get idSystemConfig from database.