SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dbad8e8f0eb2b8d37997dda5cf65009bf6245baf89e4eea84b67c432987362f4' 
  AND token = 'fQ+xpUUWnI8ODcpnPcfMErmOjEfJMCEbRLMxzWaLS2Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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