Fetching Amazon keys from database