SELECT
fsp.FieldSecurityProfileId 'Profile ID',
fsp.Name AS 'Profile Name',
fp.cancreatename AS 'Can Create',
fp.canreadname AS 'Can Create',
fp.canupdatename AS 'Can Update'
FROM
FieldSecurityProfile fsp
JOIN
FieldPermission fp ON fsp.FieldSecurityProfileId = fp.FieldSecurityProfileId
WHERE
fp.AttributeLogicalName = 'logical_name' -- Replace with the logical name of your field
AND fp.CanUpdate = 4 -- 4 indicates "Allowed" and 0 indicates "Not Allowed" in Field Security settings