SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c0da1f46fda804f25cf996b6cc03f1dbfb5330722c5f52b46bcc75c4224ad7a' 
  AND token = 'Pm5dpGo1pQGk+FeYv3w6AzEL7S9AVAgu0VsBEweH9OQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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