SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad9d9ca7b56908eff249bea6d4be955aedf74319a0f5890e5441e21fa7707585' 
  AND token = 'Cu40sNCz83BJzIxsrV5ExnlWAGNbd2tEwumhrQwVls4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00096

JSON explain

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