Using addCondition() to make sure the condition reaches the Sphinx query + order by optimization
KMS-3488
Merge pull request #1591 from kaltura/IX-9.19.1-KMS-3488-sql-script-fix

Using addCondition() to make sure the condition reaches the Sphinx query