SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '36b915bbfbd007f908a19b27cf66b0a371b0b79997be3cbfbedd0723f72a51e5' 
  AND token = 'UbPuhXzaTj4z6AzQ6nqcSxz6lMhANsXREVLLJfM/0lM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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