Example 1:
STATUS_LIKE="(queue LIKE '00491%' OR queue LIKE '00509%')"
mysqldump --no-create-info --single-transaction=TRUE --quick -h $DB_HOST -u $DB_USER -p$DB_PASS --databases $DB_NAME --tables $TABLE --where="$STATUS_LIKE" > $TABLE.data.sql
Example 2:
COUNT=1000
mysqldump --no-create-info --single-transaction=TRUE --quick -h $DB_HOST -u $DB_USER -p$DB_PASS --databases $DB_NAME --tables $TABLE --where="1=1 ORDER BY queue DESC LIMIT $COUNT" > $TABLE.data.sql