<query id="getSiteInfoByDomain" action="select">
    <tables>
        <table name="sites" />
    </tables>
    <columns>
        <column name="*" />
    </columns>
    <conditions>
        <condition operation="equal" column="sites.domain" var="domain" notnull="notnull" />
    </conditions>
    <navigation>
        <index var="sort_index" default="site_srl" order="desc" />
    </navigation>
</query>
