SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'becfc2cd6bce6ae40aa2616debb87c4f23dcec7a64eb1d8e90dd34747a9dd9af' 
  AND token = 'L/Rw0frjKtFE1K0gpoaeZZwBVFiLBU/7CFI1hGWjsf0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}