SELECT "family_banks".* FROM "family_banks" WHERE ("family_banks"."checkout_request_id" = $1) ORDER BY family_banks.id DESC LIMIT $2