SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ac9128333d84d8b6ededc1362aaf35e0f5d8c3fa4a1c6828fbb71b0aa5b09211' 
  AND token = 'BEGe2aHMs4g+1Jzv/7lcfDTKhuLM3nU/WCh3mO0SAzA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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