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

Query time 0.00033

JSON explain

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