SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be9764e0c2c66607871577fcf40884473108c9473ae50f01ed1a01b6f42226c7' 
  AND token = '8CVOXDncMvGd7GudEHIflywIejSGID4/Vy9VWHzCnEg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00057

JSON explain

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