SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '90ca8e16c1396c718b0530dcc50ea5758304bbf1adfbc3f81fc12f65b49bf3ac' 
  AND token = 'vAjPKt54J2AuTek4dDNw4ClM9RYmhUH+IEMeDsB9sb4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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