PlgFinderTags::getStateQuery

Method to get a SQL query to load the published and access states for the given tag.