in reply to simplify the code

It seems to me that your initial datastructure isn't what you want; is it possible you could change it when you are collecting the data initially to something like:
{ '690557' => [ { 'one' => 'USA', 'two' => 'GOD', 'four'=>'hello how are u' } +, { 'one' => 'USA', 'two' => 'GOD', 'four'=>'I am fine' } ], '690558' => [ { 'one' => 'UK', 'two' => 'GOD', 'four'=>'I am Okay' } ] }
or maybe:
{ '690557' => { 'one' => 'USA', 'two' => 'GOD', 'four'=> [ 'hello how are u', 'I am fine' ] }, '690558' => { 'one' => 'UK', 'two' => 'GOD', 'four'=> [ 'I am Okay' ] } }
Don't copy a from a reference to an array or hash variable just to get things out of it; just do for ... ( @$arrayref ) and $hashref->{$key}; see references quick reference for guidance.