SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '24e0ee1f120d1b37c1dfa6421033720d7cbded8c6e8ef3a8b55ea418f02e1414' 
  AND token = 'h1gM74LyBwZnABIsQMk1c6xbDwNfRGWNObIMgiY6lJI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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