SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd0070f5fc4cbe878621f14f9ab94d7e12ca9c7e2838bf4f2517ece1381e336cb' 
  AND token = 'Ntg56JZAqDpjcBXHLLmTxom1fZY0NODKcQpoMtBA79w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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