SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '258edc3b520e8089f1deaec240178dc37fb5498a9658691552dabc227b87fa90' 
  AND token = 'LaO+guRHO4aikd4mdby1EFyzFyf4CZ3B8N6z/WS8HDg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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