SELECT * FROM tablename WHERE key LIKE '12345,%' ORDER BY key;