SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '788ece07287aaed613029b515755d4f1e86ec4990eb97a7ed93d3478b31391ba' 
  AND token = 'Cs9YTdogjB3hYWy/drklG862tFY20mqFQRQznuqCw4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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