SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '22cc95fb3bfd37c11c2466e89ab403b19e14f491d82f986835e2b1378d50c119' 
  AND token = '0zkMVOf9+YXwYKOilkmUMAIqMyI3LW/g2vrsTYL/9gY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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