<query id="getMAddonIsActivated" action="select">
    <tables>
      <table name="addons" />
    </tables>
    <columns>
      <column name="count(*)" alias="count" />
    </columns>
    <conditions>
      <condition operation="equal" column="addon" var="addon" notnull="notnull" />
      <condition operation="equal" column="is_used_m" default="Y" notnull="notnull" pipe="and" />
    </conditions>
</query>
