$keysin = "asdf1234";
if( $in_params[5] eq $keysin ){
  ・・・・
}else{
  ・・・・
}

どこかオカシイですか?(泣)
助けてクダサイ。。