DELETE FROM 
  cscart_lock_keys 
WHERE 
  expiry_at <= UNIX_TIMESTAMP(NOW())

Query time 0.00015