Users-permissions - up permission Query

i want to know the details how to give public permission to all the graphql queries and apis ,
and remove this query

SELECT DISTINCTROW t0 . * FROM up_permissions AS t0 LEFT JOIN up_permissions_role_links AS t1 ON t0 . id = t1 . permission_id LEFT JOIN up_roles AS t2 ON t1 . role_id = t2 . id WHERE ( t2 . type = ? )

becausr it executing every whenever i hit the apis , let me know guys how to remove this permissions Query.