SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '917f2f3d5f167ecd94e9e3ccb8045da1062d015269d052ab5ea60ea8ee69da67' 
  AND token = 'pgzzA/OQBJHToLXugK091LJX8UqlJ8rUwMC9/32zJFQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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