SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '01eab5fd0e9d30393e80d228441d69096fa1729c0ababa23ea0ba4b64066ba20' 
  AND token = 'WH6bHBaF8riK+BU9ODcem175e80/CtxPkyuKMrciTw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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