select address_public_id
       , type
       , value
       , created_at
from secd.address
where (($1::uuid is null) or (address_public_id = $1))
and (($2::text is null) or (type = $2))
and (($3::text is null) or (value = $3));
