SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '585976d61c0c3dc1ed0db17bf37024b0bbede91ee813b8a52637bfd11236bfa7' 
  AND token = 'WnfTorZlc/WhgkpFucoH++LAti85BqSmZ4geqfhEwpE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}