Add conditions into conditions table and build an index on them.