SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c23ba25715817ac191a20cbef6514ec294bd40fd5afdaa7e6ea73e16e22dcfdb' 
  AND token = 'e1Cx4hF+g7I+AcLaGrsLazkw9p3J8Y31RI8FiQnquU0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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